-
Bug
-
Resolution: Fixed
-
Major
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.
- duplicates
-
JENKINS-63284 Add support to Pipeline API
-
- Open
-
[JENKINS-50739] Active Choices - The variables jenkinsProject and jenkinsBuild are NOT available in pipeline projects
Labels | Original: active-choices jenkins pipeline | New: jenkins pipeline |
Environment | Original: Active Choices 2.1 |
Link | New: This issue duplicates JENKINS-63284 [ JENKINS-63284 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
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!