Created
March 18, 2016 13:42
-
-
Save NicolasGeraud/39ee17e8f1c1e0958c75 to your computer and use it in GitHub Desktop.
lister tous les cron des jobs jenkins
This file contains 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
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