Thanks a ton Victor! The link you referred me to got me pointed in the
right direction.
I removed the environmentVariables/groovy() call and added the configure
block below.
def testJob(){
this.jobFactory.job("Tests/testJob"){
parameters {
booleanParam
Does it help the below answer?
-
https://groups.google.com/forum/#!searchin/job-dsl-plugin/Use$20Groovy$20Sandbox%7Csort:date/job-dsl-plugin/UiD7ujvEQ-s/HvgRrAiJAwAJ
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this gro
I finally figured out how to set an environment variable to a string that
depends on a build parameter in Job DSL using the groovy() method in
a EnvironmentVariableContext. Now my problem is how to run the groovy
script in the sandbox so it won't need to be authorized.
A form of the DSL:
d