-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Ubuntu 14.04 x86_64
Jenkins 2.13
Open JDK 1.7
Active Choices Plug-in 1.4
Folders Plugin 5.12
Multi-Branch Project Plugin 0.5.1
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".
- is related to
-
JENKINS-33538 Access JOB_NAME in Groovy Script
- Closed