-
New Feature
-
Resolution: Fixed
-
Minor
-
None
Now that JENKINS-26100 has been resolved we should bake this into Declarative, too.
This works fine in Scripted to set all scm properties into env variables:
checkout(scm).each { k,v -> env.setProperty(k, v) }
We should build this into Declarative by default.
- is duplicated by
-
JENKINS-45223 Pipeline jobs do not have access to env.BRANCH
- Resolved
- links to