Hi,

I am implementing a Recorder in my plugin, and I throw AbortExceptions in 
the overridden "perform" method to indicate a build failure.
Unlike what is described in the javadoc of AbortException, I get the full 
stacktrace in my build output log.

So I've traced the problem back to AbstractBuild#performAllBuildSteps (
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/AbstractBuild.java?source=c#L761
),
and see that it does not treat AbortException as a special case and prints 
the stacktrace for all Exceptions.

Should I submit this as a JIRA issue?

Best,

Mathieu

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to