Fix error handling in the experimental flow Groovy script

Description

Error handling is not done in a consistent manner in the Experimental flow Groovy script. Sometime exceptions are used, other times the 'currentBuild.result' variable is used and exceptions are actually suppressed.

This right way seems to be to use exceptions. Currently various things seem to be broken like properly marking that a build failed in the pipeline stage display plugin.

Activity

Show:

Barak Korren July 12, 2017 at 12:03 PM

'experimental' is going to be replaced by the change-queue.

Won't Fix

Details

Assignee

Reporter

Components

Priority

Created January 22, 2017 at 10:04 AM
Updated August 3, 2017 at 3:02 PM
Resolved July 12, 2017 at 12:03 PM

Flag notifications