Right now we have global toggles to run all scripts on either build success, failure, or both. I would like to be able to execute some scripts on success, and other scripts on failure.
I'm willing to spend some time on this if you want me to. I have looked at the source and I can implement this for the script files. I'm not sure how to do it though for the build tasks.