-
Bug
-
Resolution: Fixed
-
Critical
-
Jenins 1.613, Workflow plugin 1.6
Also: Jenkins 1.651.1, workflow-job 2.3
When selecting the "Groovy CPS DSL from SCM" option for a worflow job, the SCM plugins do not appear to resolve build parameters or environment variables. I am using the git plugin and when I use it from other jobs I can specify a build parameter, like "BuildBranch", and use that when specifying what branch should be built:
Branches to build: */${BuildBranch}
This does not work when I use the Groovy CPS DSL from SCM.
- depends on
-
JENKINS-30910 Job parameters should be exposed as environment variables
- Resolved
- is duplicated by
-
JENKINS-33719 PipelineScript from SCM does not support job parameters
- Resolved
-
JENKINS-42971 Pipeline script from SCM does not expand build parameters/env variables for lightweight checkouts
- Resolved
-
JENKINS-34540 Can't use Pipeline Parameter in Branch Specifier on Jenkins 1.651.2/2.0-2.6
- Closed
-
JENKINS-34126 Jenkins 2.x - Pipeline - variables from paramaetrized build not evaluated for Git
- Closed
-
JENKINS-34876 Git Parameters not working for Pipeline projects and Jenkinsfile from SCM
- Reopened
- is related to
-
JENKINS-48431 Pipeline script from SCM should support build parameters using Lightweight checkout
- Closed
- relates to
-
JENKINS-42836 Build parameter not expanded in script path
- Resolved
-
JENKINS-43040 Pipeline script from SCM does not resolve project parameter used in branch specifier
- Resolved
- links to