i have a situation where i would like to run a task to put a system back in its initial state if another task fails. Something like this:

check out file
modify file ----> fails
check in modifications
label
build
undo checkout if failure

the key is i don't want to run the checkin, label, and build if modify fails.

is there a best practice way to implement this in my build scripts.

thanks,
steve

Reply via email to