Dear All,
I am trying to create a DSL template job that will generate jobs with
'Inject passwords to the build as environment variables' option and a want
to add a name and a value. Until now I have this :
....
wrappers {
environmentVariables {
injectPasswords {
injectGlobalPasswords(false)
jobPasswords{
}
}
buildName = '${TODAY_DATE}''
envs(BUILD_NAME: "${buildName}")
}
buildName('${ENV,var="BUILD_NAME"}')
}
....
However, I dont know how to add a name and a value. The jobPasswords {}
block does not work and I have tried various combinations to add a password
but with no success. I cant find anything on the internet as well.
I appreciate your help!
Thanks you!
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/f74f9e1a-7425-496a-b59a-b175ed8df7e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.