-
Bug
-
Resolution: Unresolved
-
Major
-
None
Hi,
There is no DSL code option to restrict where the project can be run using the groovy script.
Using Job DSL 1.77 and Jenkin Version Jenkins 2.277.2
[JENKINS-66615] No jenkin DSL API to restrict the project to run via groovy script
Assignee | Original: Daniel Spilker [ daspilker ] | New: Jamie Tanna [ jamietanna ] |
You can do this with https://plugins.jenkins.io/groovy-label-assignment/, no?