Hi,
I want to enable a build wrapper for each and every job in my project , how
do i enable it using groovy or java,
I wrote this code to get the buildwrapper list , bit could not find a
method to set it ,
for(item in Hudson.instance.getItems()) {
println item.getName()
println(item.displayName)
item.buildWrappers.each{
println("I am using buildwrapper " )
println item.buildWrappers
}
}
The ouptut for code above is something like this
I am using buildwrapper
[org.jenkinsci.plugin.Diskcheck$DescriptorImpl@409bb402:org.jenkinsci.plugin.Diskcheck@238635e4]
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" 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-dev/b233d679-c80e-465e-a67b-0a0c7bc97300%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.