Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65579

Jenkins 2.277.1 Job with build parameter configuration is not saving

XMLWordPrintable

      Hi,

      I have pipeline job, trying to add the build parameter for the job, when  edit the job and click save button, I can see parameter goes to the Jenkins, but it not getting saved. 

      From the network trace I see ‘hudson-model-ParametersDefinitionProperty’ value goes to server.

       How to troubleshoot this issue?

      attaching job json file and plugin list on my system.

      {    "description""",    "stapler-class-bag": [        "true",        "true"    ],    "hudson-plugins-jira-JiraProjectProperty": {        "siteName": "https://jira-example.com/"    },    "hudson-plugins-buildblocker-BuildBlockerProperty": {        "useBuildBlocker": false,        "blockingJobs": "",        "blockLevel": "global",        "scanQueueFor": "disabled"    },    "jenkins-model-BuildDiscarderProperty": {        "specified": false,        "": "0",        "strategy": {            "daysToKeepStr": "",            "numToKeepStr": "",            "artifactDaysToKeepStr": "",            "artifactNumToKeepStr": "",            "stapler-class<span class="code-quote">": "hudson.tasks.LogRotator",            "$class<span class="code-quote">": "hudson.tasks.LogRotator"        }    },    "org-jenkinsci-plugins-workflow-job-properties-DisableConcurrentBuildsJobProperty": {        "specified": false    },    "org-jenkinsci-plugins-workflow-job-properties-DisableResumeJobProperty": {        "specified": false    },    "com-coravy-hudson-plugins-github-GithubProjectProperty": {},    "com-dabsquared-gitlabjenkins-connection-GitLabConnectionProperty": {        "gitLabConnection": "https://gitlab-example.com/",        "useAlternativeCredential": false,        "includeUser": "false",        "jobCredentialId": ""    },    "hudson-plugins-copyartifact-CopyArtifactPermissionProperty": {},    "se-diabol-jenkins-pipeline-PipelineProperty": {        "enabled": false,        "stageName": "",        "taskName": "",        "descriptionTemplate": ""    },    "org-jenkinsci-plugins-workflow-job-properties-DurabilityHintJobProperty": {        "specified": false,        "hint": "MAX_SURVIVABILITY"    },    "org-jenkinsci-plugins-pipeline-modeldefinition-properties-PreserveStashesJobProperty": {        "specified": false,        "buildCount": "1"    },    "hudson-model-ParametersDefinitionProperty": {        "specified": true,        "parameterDefinitions": {            "name": "one",            "defaultValue": false,            "description": "",            "stapler-class<span class="code-quote">": "hudson.model.BooleanParameterDefinition",            "$class<span class="code-quote">": "hudson.model.BooleanParameterDefinition"        }    },    "jenkins-branch-RateLimitBranchProperty$JobPropertyImpl": {},    "org-jenkinsci-plugins-envinject-EnvInjectJobProperty": {        "on": false,        "keepJenkinsSystemVariables": true,        "keepBuildVariables": true,        "overrideBuildParameters": false,        "info": {            "propertiesFilePath": "",            "propertiesContent": "",            "scriptFilePath": "",            "scriptContent": "",            "secureGroovyScript": {                "script": "",                "sandbox": false            },            "loadFilesFromMaster": false        }    },    "hudson-plugins-tfs-TeamPRPushTrigger": false,    "jobContext": "Jenkins PR build",    "targetBranches": "*/master",    "hudson-plugins-promoted_builds-PromotionTrigger": false,    "jobName": "",    "process": "",    "org-jfrog-hudson-trigger-ArtifactoryTrigger": false,    "": [        "ART",        "0"    ],    "details": {        "artifactoryName": "ART",        "stapler-class<span class="code-quote">": "org.jfrog.hudson.ServerDetails"    },    "spec": "",    "paths": "",    "com-cloudbees-jenkins-GitHubPushTrigger": false,    "hudson-triggers-SCMTrigger": false,    "scmpoll_spec": "",    "ignorePostCommitHooks": false,    "disable": false,    "hasCustomQuietPeriod": false,    "quiet_period": "5",    "pseudoRemoteTrigger": false,    "authToken": "",    "displayNameOrNull": "",    "definition": {        "script": "",        "": [            "try sample Pipeline...",            "\u0001\u0001"        ],        "sandbox": true,        "stapler-class<span class="code-quote">": "org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition",        "$class<span class="code-quote">": "org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition"    },    "core:apply": "",    "Jenkins-Crumb": ""}
      

       

      Thanks

            Unassigned Unassigned
            kubectl software
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: