-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins 2.73.3
Active Choices 2.0
The jenkinsProject variable does not appear in the bindings when Active Choice parameter is used in a pipeline job.
Can be tested in similar manner to related issues, ie:
return [ jenkinsProject.getName() ]
- duplicates
-
JENKINS-29407 Active Choices plugin doesn't work with Workflow Plugin
-
- Fixed but Unreleased
-
Hi David, thanks for reporting it. I am closing it in favour of
JENKINS-29407. It's been for a while in our roadmap, but we haven't settled on a solution yet. Feel free to chime in and join the discussion in case you have suggestions.Right now jobs triggered in pipelines with no human interaction, timer, or via other non-human actions are not supported. The plug-in relies on the HTML DOM for the reactivity, and events triggered by users on the UI.
Though I believe it should be doable to mimic the behaviour when using pipeline/workflow, groovy, REST API, timers, etc.