Where am I wrong here. I have tried several combinations
import jenkins.model.*
import jenkins.model.node.*
import jenkins.model.slave.*
Jenkins.instance?.items.each { job ->
if ( job.getLastBuild() != null ) {
println
"${job.name},${job.getLastBuild().getNumber()},${job.getnextBuildNumber().getNumber()}"
} else {
}
}
--
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/4b005d29-2939-4688-96e9-53cf03c2b834%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.