Skip to content

Instantly share code, notes, and snippets.

@NicolasGeraud
Created March 18, 2016 13:42
Show Gist options
  • Save NicolasGeraud/39ee17e8f1c1e0958c75 to your computer and use it in GitHub Desktop.
Save NicolasGeraud/39ee17e8f1c1e0958c75 to your computer and use it in GitHub Desktop.
lister tous les cron des jobs jenkins
for (item in Jenkins.instance.items) {
if ( ! item.disabled ) {
for( trigger in item.triggers) {
if(trigger.value.spec != "") {
println "${item.name} ${trigger.value.spec}"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment