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

Add Pipeline definition option to build from specified script

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Minor Minor
    • pipeline
    • None

      Currently, the only two options for a Pipeline definition are Pipeline script, and Pipeline script from SCM. Although our Jenkins file is included in our Git repository, we have slaves that do not have access to the repository. It would be nice if we could just pass in the script path (similar to the step in "Pipeline script from SCM) without forcing us to use SCM at the same time.

          [JENKINS-39144] Add Pipeline definition option to build from specified script

          Cam Spencer added a comment -

          I was updating the plugins on another Jenkins instance, and I noticed that there is an option for None when selecting the source control. I suppose this feature is already implemented then (though I'm not sure which version of what plugin is required)

          Cam Spencer added a comment - I was updating the plugins on another Jenkins instance, and I noticed that there is an option for None when selecting the source control. I suppose this feature is already implemented then (though I'm not sure which version of what plugin is required)

          Cam Spencer added a comment -

          It would seem that I didn't realize this feature exists because the None option disappears after creating the job JENKINS-39219. If someone could close this and reference the version this was implemented that would be great.

          Cam Spencer added a comment - It would seem that I didn't realize this feature exists because the None option disappears after creating the job JENKINS-39219 . If someone could close this and reference the version this was implemented that would be great.

          Jesse Glick added a comment -

          You can always have an inline bootstrap script that load s the real Jenkinsfile after setting up a workspace somewhere.

          Jesse Glick added a comment - You can always have an inline bootstrap script that load s the real Jenkinsfile after setting up a workspace somewhere.

            Unassigned Unassigned
            cwcam Cam Spencer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: