[JIRA] (JENKINS-50739) Active Choices - The variables jenkinsProject and jenkinsBuild are NOT available in pipeline projects

5 views
Skip to first unread message

brand10@gmx.de (JIRA)

unread,
Apr 11, 2018, 10:07:02 AM4/11/18
to jenkinsc...@googlegroups.com
Brandon Walsh created an issue
 
Jenkins / Bug JENKINS-50739
Active Choices - The variables jenkinsProject and jenkinsBuild are NOT available in pipeline projects
Issue Type: Bug Bug
Assignee: Bruno P. Kinoshita
Components: active-choices-plugin
Created: 2018-04-11 14:06
Environment: Active Choices 2.1
Labels: active-choices jenkins pipeline
Priority: Major Major
Reporter: Brandon Walsh

Hello,

We recognized that the variables jenkinsProject and jenkinsBuild are not set within a jenkins pipeline project. Which means:

try {

def jobName = this.binding.jenkinsProject.name;

}

will result in a "property not found: jenkinsProject" exception while working with a pipeline project.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

michaeldkfowler@gmail.com (JIRA)

unread,
Jan 11, 2019, 11:33:02 AM1/11/19
to jenkinsc...@googlegroups.com
Michael Fowler updated an issue
Change By: Michael Fowler
Labels: active-choices jenkins pipeline
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

michaeldkfowler@gmail.com (JIRA)

unread,
Jan 11, 2019, 11:33:02 AM1/11/19
to jenkinsc...@googlegroups.com

levichen24@gmail.com (JIRA)

unread,
Aug 11, 2019, 10:34:02 AM8/11/19
to jenkinsc...@googlegroups.com
chen levi commented on Bug JENKINS-50739
 
Re: Active Choices - The variables jenkinsProject and jenkinsBuild are NOT available in pipeline projects

also facing this issue.

i see other issues related to this, and that make this works on pipeline is on the go.

 

question is, is there any other way i can get the job name from the activechoiceparameter within a CI pipeline?

 

thanks!

 

 

orzechszek@op.pl (JIRA)

unread,
Apr 15, 2020, 8:48:06 AM4/15/20
to jenkinsc...@googlegroups.com

Issue still exists. Any updates?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages