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

Pipeline from SCM jobs should have a fetch option

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: pipeline
    • Labels:
      None
    • Similar Issues:

      Description

      I created a declarative "pipeline from SCM" job. This pipeline defines parameters.

      I have to trigger a build that will fail in order to configure the build (parameters). Only the second build will prompt parameters.

      If I commit parameter changes in the JenkinsFile, same problem: I have to trigger a build that not prompt new options. Only the next build will have the right prompt parameters.

       

      To correct this problem, "pipeline from SCM" jobs should have a "fetch" button, that would:

      • fetch the JenkinsFile from the repository.
      • validate the file syntax and configure the job.
      • NOT trigger a build.

        Attachments

          Issue Links

            Activity

            bcourtine Benoît Courtine created issue -
            bcourtine Benoît Courtine made changes -
            Field Original Value New Value
            Description I created a declarative "pipeline from SCM" job. This pipeline defines parameters.

            I have to trigger a build that will fail in order to configure the build (parameters). Only the second build will prompt parameters.

            If I commit parameter changes in the JenkinsFile, same problem: I have to trigger a build that not prompt new options. Only the next build will have the right prompt parameters.

             

            To correct this problem, "pipeline from SCM" jobs should have a "fetch" button, that would:
             * fetch the JenkinsFile from the repository.
             * validate the file syntax and configure the job.
             * NOT trigger a build.
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-41929 [ JENKINS-41929 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                bcourtine Benoît Courtine
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: