-
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
-
[JENKINS-36590] Active-Choice jenkinsProject variable is not available under Folder
Summary | Original: Active-Choice jenkinsProject variable is not available under Folder or Multibranch-Multiconfiguration | New: Active-Choice jenkinsProject variable is not available under Folder or Multibranch-Multiconfiguration job |
Description |
Original:
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*": {code} return[ jenkinsProject.getName() ] {code} 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*". |
New:
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*": {code} return [ jenkinsProject.getName() ] {code} 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*". |
Link |
New:
This issue is related to |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: Open [ 1 ] |
Attachment | New: Screenshot from 2016-07-25 16-25-58.png [ 33423 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Attachment | New: uno-choice.hpi [ 33437 ] |
Workflow | Original: JNJira [ 173310 ] | New: JNJira + In-Review [ 199430 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |