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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: active-choices-plugin
    • None
    • Environment:
      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

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

              Created:
              Updated:
              Resolved: