-
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
-
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!