From 0ce53cf479440993da145548f7912b94f6f3be02 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 8 Jul 2020 14:50:11 -0500 Subject: [PATCH] Allow RHEL 8.3 failures to fail pipeline Now that RHEL 8.3 pulls from the beta CDN, let's stop hiding the errors and allow them to make the pipeline fail. Signed-off-by: Major Hayden --- schutzbot/Jenkinsfile | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/schutzbot/Jenkinsfile b/schutzbot/Jenkinsfile index c676b3a11..15981c757 100644 --- a/schutzbot/Jenkinsfile +++ b/schutzbot/Jenkinsfile @@ -259,14 +259,7 @@ pipeline { environment { TEST_TYPE = "base" } steps { unstash 'rhel83' - // If RHEL 8.3 fails, let the stage fail without - // marking the entire pipeline as a failure. Once - // RHEL 8.3 calms down and tests begin to pass, - // remove this wrapper and make this test look like - // the others. - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - run_tests('base') - } + run_tests('base') } post { always { @@ -282,14 +275,7 @@ pipeline { } steps { unstash 'rhel83' - // If RHEL 8.3 fails, let the stage fail without - // marking the entire pipeline as a failure. Once - // RHEL 8.3 calms down and tests begin to pass, - // remove this wrapper and make this test look like - // the others. - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - run_tests('image') - } + run_tests('image') } post { always { @@ -305,14 +291,7 @@ pipeline { } steps { unstash 'rhel83' - // If RHEL 8.3 fails, let the stage fail without - // marking the entire pipeline as a failure. Once - // RHEL 8.3 calms down and tests begin to pass, - // remove this wrapper and make this test look like - // the others. - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - run_tests('integration') - } + run_tests('integration') } post { always {