Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Disable all jobs

Useful if you don't have the Configuration Slicing Plugin

This script disables all jobs in you Hudson server.

import hudson.model.*

// For each project
for(item in Hudson.instance.items) {
  println("JOB : "+item.name)
  item.disabled=true
  item.save()
  println("\n=======\n")
}

Back to the top