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

Choice parameter not updated when rebuilding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • pipeline
    • None

      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.

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

              Created:
              Updated:
              Resolved: