[JIRA] (OVIRT-1066) Fix error handling in the experimental flow Groovy script
Barak Korren (oVirt JIRA)
jira at ovirt-jira.atlassian.net
Sun Jan 22 10:04:02 UTC 2017
Barak Korren created OVIRT-1066:
-----------------------------------
Summary: Fix error handling in the experimental flow Groovy script
Key: OVIRT-1066
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1066
Project: oVirt - virtualization made easy
Issue Type: Improvement
Components: Jenkins
Reporter: Barak Korren
Assignee: infra
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.
--
This message was sent by Atlassian JIRA
(v1000.695.3#100025)
More information about the Infra
mailing list