Skip to content

Instantly share code, notes, and snippets.

@GJSissons
Created July 24, 2023 12:53
Show Gist options
  • Save GJSissons/cee2ddfe7a321dc8510a84c3225b8914 to your computer and use it in GitHub Desktop.
Save GJSissons/cee2ddfe7a321dc8510a84c3225b8914 to your computer and use it in GitHub Desktop.
Automating Tower workflows 13
workflow.onComplete = {
// any workflow property can be used here
println "Pipeline complete"
println "Command line: $workflow.commandLine"
}
workflow.onError = {
println "Oops .. something when wrong"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment