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

reload pipeline script without executing the job

    Details

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

      Description

      I use Jenkins Pipeline with "Pipeline Script from SCM".

      In my pipeline script, there is a parameters definition. When I change the parameters in my Jenkinsfile and push the changes to my SCM, the new parameters are not shown up in Jenkins when I click "build with parameters". I have to run the job once with the old configuration and afterwards the new parameters show up.

      It would be great if you can provide a possibility to "reload" the Pipeline script (with its new parameters) from scm without executing the Job, e.g. adding a button "reload Jenkinsfile".

        Attachments

          Issue Links

            Activity

            Hide
            akdor1154 Jarrad Whitaker added a comment -

            Would the aspect that "parameters are in Jenkinsfile, but don't get used when I run the project" make this considered a bug?

            Show
            akdor1154 Jarrad Whitaker added a comment - Would the aspect that "parameters are in Jenkinsfile, but don't get used when I run the project" make this considered a bug?
            Hide
            jonnymcc Jonathan McCall added a comment -

            How is this fixed? I do not see a link to a closed issue that addresses the problem.

            Show
            jonnymcc Jonathan McCall added a comment - How is this fixed? I do not see a link to a closed issue that addresses the problem.
            Hide
            gdlxn Geoff Alexander added a comment - - edited

            I also wonder how this is fixed?

            Show
            gdlxn Geoff Alexander added a comment - - edited I also wonder how this is fixed?

              People

              • Assignee:
                Unassigned
                Reporter:
                mrmunch Steffen Becker
              • Votes:
                2 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: