Active-Choice jenkinsProject variable is not available under Folder

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      As a freestyle job at top level (not under any folder),
      the groovy script below is working
      for both "Active Choice Parameter" and "Active Choices Reactive Parameter":

      return [ jenkinsProject.getName() ]
      

      But when I move this same freestyle job under a "Cloudbees Folder",
      or when I use the same script in "Multibranch-MultiConfiguration" job
      then it will run the "Fallback script".

        1. Screenshot from 2016-07-25 16-25-58.png
          48 kB
          Bruno P. Kinoshita
        2. uno-choice.hpi
          1.95 MB
          Bruno P. Kinoshita

            Assignee:
            Bruno P. Kinoshita
            Reporter:
            Rick Liu
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: