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

Choice parameter not updated when rebuilding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: pipeline
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      I have a multibranch pipeline project with a Jenkinsfile stored in a Git repo. There are some parameters, including some choice parameters. I modified the Jenkinsfile to change the values in one of the choice parameters. I ran a build of the job. After the build finished, I expected the Build With Parameters page to show the new choice values. It didn’t; the old ones were still there. Restarting Jenkins didn’t help either, nor did running a few more builds. However, it seems that running the build on its own (i.e. with no other builds running at the same time) did cause the parameters to update. I don’t know whether this problem is limited to choice parameters or whether it also affects parameters of other types, or other metadata in general that comes from Jenkinsfile and is copied into config.xml.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              haw777 Christopher Head
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: