From f7095cbe58d8527b94c6b1c077746a342b2adbc0 Mon Sep 17 00:00:00 2001 From: Terry McGuinness Date: Wed, 3 Jul 2024 13:26:30 -0400 Subject: [PATCH] force error on checkout too with update catch block --- ci/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index c844ad38d2..827b360231 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -122,7 +122,7 @@ pipeline { if (env.CHANGE_ID) { sh(script: """${GH} pr comment ${env.CHANGE_ID} --repo ${repo_url} --body "Checkout **Failed** on ${Machine}: ${e.getMessage()}" """) } - echo "Failed to checkout: ${e.getMessage()}" + error("Failed to checkout: ${e.getMessage()}") STATUS = 'Failed' } def gist_url = ""