Created
December 10, 2018 10:39
-
-
Save krdlab/f41c3cb89d19c9dad10f0cc252080e0a to your computer and use it in GitHub Desktop.
Jenkins のジョブを一括で無効化する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jenkins.model.Jenkins.instance.items.each { | |
println "\nJob: ${it.name}" | |
it.disabled = true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment