I hav a Jenkins folder that contains several jobs. Some of the jobs, not
all, are multi-branch pipelines. The multi-pipeline jobs' configuration
page has a setting for "Folder properties" and I created a simple string
key/value pair in there. How can I reference this in my pipeline? I've
tried this to no avail.
String someKeyValuePair = "junk"
withFolderProperties {
someKeyValuePair = env.SOME_KEY_VALUE_PAIR
}
println someKeyValuePair
and it just prints "junk," that is, it never picks up the folder property I
set up. Any clues?
Thanks,
Chris
--
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/d752502a-0b30-435c-8965-6681a7c236bdn%40googlegroups.com.