[JIRA] (JENKINS-36590) Active-Choice jenkinsProject variable is not available under Folder or Multibranch-Multiconfiguration

39 views
Skip to first unread message

totoroliu1215@hotmail.com (JIRA)

unread,
Jul 11, 2016, 10:06:01 PM7/11/16
to jenkinsc...@googlegroups.com
Rick Liu created an issue
 
Jenkins / Bug JENKINS-36590
Active-Choice jenkinsProject variable is not available under Folder or Multibranch-Multiconfiguration
Issue Type: Bug Bug
Assignee: Bruno P. Kinoshita
Components: active-choices-plugin, cloudbees-folder-plugin, multi-branch-project-plugin
Created: 2016/Jul/12 2:05 AM
Environment: 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
Priority: Major Major
Reporter: Rick Liu

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".

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages