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

Pipeline "currentBuild" should expose project name

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • pipeline
    • None

      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.

          [JENKINS-37366] Pipeline "currentBuild" should expose project name

          Andrew Bayer created issue -

          Andrew Bayer added a comment -

          Andrew Bayer added a comment - PR up at https://github.com/jenkinsci/workflow-support-plugin/pull/8
          Andrew Bayer made changes -
          Remote Link New: This issue links to "PR #8 (Web Link)" [ 14718 ]
          Andrew Bayer made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Liam Newman made changes -
          Link New: This issue relates to JENKINS-41272 [ JENKINS-41272 ]

          Can you use `env.JOB_NAME` instead?

          http://stackoverflow.com/a/41345704

          Shauvik Roy Choudhary added a comment - Can you use `env.JOB_NAME` instead? http://stackoverflow.com/a/41345704

            abayer Andrew Bayer
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: