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

Pipeline from SCM jobs should have a fetch option

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

      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.

          [JENKINS-45454] Pipeline from SCM jobs should have a fetch option

          Benoît Courtine created issue -
          Benoît Courtine made changes -
          Description New: 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.
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-41929 [ JENKINS-41929 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: