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

Get JOB_NAME in Groovy Script of Choose Source for Value

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Ubuntu 14.04 x86_64
      Oracle JDK 1.7
      Jenkins ver. 1.642.1
      Extended Choice Parameter Plug-In 0.56
    • Similar Issues:

      Description

      Related: JENKINS-17875

      I have a 100+ jobs managed under a Cloudbees Folder plugin.
      I need to provide different choices based upon the current Job.
      But I was not able to get the JOB_NAME the same way as when the job starts to build.

        Attachments

          Activity

          Hide
          vimil vimil added a comment -

          The project object is now exposed as a groovyscript variable in version 0.63

          Show
          vimil vimil added a comment - The project object is now exposed as a groovyscript variable in version 0.63
          Hide
          vimil vimil added a comment -

          The project object is now exposed as a groovy script variable in version 0.63

          Show
          vimil vimil added a comment - The project object is now exposed as a groovy script variable in version 0.63

            People

            • Assignee:
              vimil vimil
              Reporter:
              totoroliu Rick Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: