Status: Resolved (View Workflow)
The currentBuild global variable (a.k.a. RunWrapper) doesn't actually give you Whitelisted access to the job/project name, which is...annoying. That should be fixed.
- relates to
JENKINS-41272 Pipeline "currentBuild" should expose build causes
- links to
Shauvik Roy Choudhary added a comment -
Can you use `env.JOB_NAME` instead?
Shauvik Roy Choudhary added a comment - Can you use `env.JOB_NAME` instead? http://stackoverflow.com/a/41345704
PR up at https://github.com/jenkinsci/workflow-support-plugin/pull/8