• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • active-choices-plugin
    • Ubuntu 14.04 x86_64
      Oracle JDK 1.7
      Jenkins ver. 1.642.1
      Active Choices Plug-in 1.4

      Related: JENKINS-17875

      I have choice values that depends on the JOB_NAME,
      but unable to get JOB_NAME through Jenkins Groovy API.

          [JENKINS-33538] Access JOB_NAME in Groovy Script

          Hi Rick,

          reduced issue priority, as we have not yet confirmed this is a bug in the plug-in.

          Could you provide the code you are using to access the JOB_NAME env var, please?

          Let's first try to reproduce the issue, confirm whether it's a bug in the plug-in code, or if there's a different way to access the variable.

          Thanks
          Bruno

          Bruno P. Kinoshita added a comment - Hi Rick, reduced issue priority, as we have not yet confirmed this is a bug in the plug-in. Could you provide the code you are using to access the JOB_NAME env var, please? Let's first try to reproduce the issue, confirm whether it's a bug in the plug-in code, or if there's a different way to access the variable. Thanks Bruno

          Rick Liu added a comment -

          Please mark this as the duplicate of JENKINS-36590
          Eventually I found out it's working on Freestyle job at top-level.

          Rick Liu added a comment - Please mark this as the duplicate of JENKINS-36590 Eventually I found out it's working on Freestyle job at top-level.

          Thanks Rick! Marked as duplicate.

          Bruno P. Kinoshita added a comment - Thanks Rick! Marked as duplicate.

            kinow Bruno P. Kinoshita
            totoroliu Rick Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: