-
Epic
-
Resolution: Unresolved
-
Major
-
Pipeline support in EnvInject
-
EnvInject does not support Pipeline now. Though there are many workarounds, it would be useful to address particular integration use-cases
- blocks
-
JENKINS-33691 URLTrigger Plugin doesn't work in jenkins 2.0 alpha 3 when using job type Pipeline
-
- Closed
-
- is related to
-
JENKINS-27301 Pipeline support for XTrigger
-
- In Review
-
- links to
Here's the use case I have today. We work on sprint branches in our SCM. As we advance sprint to sprint we change the branch name. To handle this we set a global variable (SPRINT_BRANCH) with the branch name as its value. Jenkins jobs designed to always focus on the "current sprint" use that global variable ${SPRINT_BRANCH} as the branch name in the SCM checkout. Elsewhere in Jenkins, using this variable works with the plugin SCM operations. This pattern allows us to migrate any number of jobs from one branch to the next by simply changing the value of SPRINT_BRANCH. With Pipeline, a variable can not be used as the branch name.