I have xl release to accomplish for . It is having multiple phases and each phase is containing multiple tasks. There is a templet(orchestor) responsible for multiple application deployment. I want the scenario to achieve where even if one of the application release is failed the rest application will continue to get deployed.This whole process is getting done by a groovy script.
So basically i want a graceful way to handle the task failure in groovy for the xl realese. the code goes like this:
if(condition)
{
throw new Exception("Build Failed as the TAF sanity or TAF consumer failed")
}