Hi,

In the following code, Is it possible to find if the build is aborted by 
user or grunt failed

try{
    .....
     sh "grunt voter"
}
catch(ex){

}

The problem is that exception ex in both cases is always hudson.AbortException 


Kind regards,
Raja

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ef339ad5-d2bd-40a6-bd17-d2a50456251b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to