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

          Closing as duplicate of JENKINS-32461. Will update that ticket and include in one of the next releases (hopefully it will make 1.5.4, scheduled for the next weeks).

          Bruno P. Kinoshita added a comment - Closing as duplicate of JENKINS-32461 . Will update that ticket and include in one of the next releases (hopefully it will make 1.5.4, scheduled for the next weeks).

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

              Created:
              Updated:
              Resolved: