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

Active-Choice jenkinsProject variable is not available for Freestyle Multi-branch and Multi-configuration Multi-branch projects

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • active-choices-plugin
    • None
    • Ubuntu 14.04 x86_64
      Jenkins 2.21
      Open JDK 1.7
      Active Choices Plug-in 1.4
      Multi-Branch Project Plugin 0.5.2

      As a Freestyle Multi-branch project or Multi-configuration Multi-branch project,
      the groovy script below is not working
      for both "Active Choice Parameter" and "Active Choices Reactive Parameter":

      return [ jenkinsProject.getName() ]
      

      Similar to:
      JENKINS-36590
      JENKINS-32461

          [JENKINS-39046] Active-Choice jenkinsProject variable is not available for Freestyle Multi-branch and Multi-configuration Multi-branch projects

          Rick Liu created issue -
          Bruno P. Kinoshita made changes -
          Link New: This issue duplicates JENKINS-32461 [ JENKINS-32461 ]
          Bruno P. Kinoshita made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: