Groups
Groups
Sign in
Groups
Groups
Jenkins Users
Conversations
About
Send feedback
Help
Detecting build abort in pipeline
25 views
Skip to first unread message
Raja Nasrallah
unread,
Oct 25, 2017, 11:16:53 AM
10/25/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
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
Reply all
Reply to author
Forward
0 new messages