Skip to content

Instantly share code, notes, and snippets.

@gschueler
Created April 19, 2013 16:34
Show Gist options
  • Save gschueler/5421499 to your computer and use it in GitHub Desktop.
Save gschueler/5421499 to your computer and use it in GitHub Desktop.
import com.dtolabs.rundeck.plugins.notification.NotificationPlugin;
rundeckPlugin(NotificationPlugin){
onstart {
println("success: data ${execution}")
true
}
onfailure {
println("failure: data ${execution}")
true
}
onsuccess {
println("job start: data ${execution}")
true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment