Releasing Petals ESB projects

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History
}
{code}
{info}Catution to deactivate only Jenkins jobs associated to the projects that will be released !{info} !
{code}
import hudson.model.*

// For each project
for(item in Hudson.instance.items) {
if (item.name.startsWith("4.3.x")) {
println("------> JOB disabled: "+item.name)
item.disabled=true
item.save()
} else {
println(" JOB not disabled: "+item.name)
}
}
{code}{info}

h1. Releasing Petals ESB