From 471ffa8dffe62d8879a41060203956ebdfd5a1ad Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Wed, 8 Mar 2023 16:15:20 +1000 Subject: [PATCH] Fix syntax --- Jenkinsfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ebb7561..887cf20 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -91,7 +91,9 @@ pipeline { npmGithubPrComment("CI Error:\n\n```\n${shOutput}\n```", true) } success { - shOutput = "" + script { + shOutput = "" + } } } } @@ -141,7 +143,9 @@ pipeline { } success { archiveArtifacts allowEmptyArchive: false, artifacts: 'bin/*' - shOutput = "" + script { + shOutput = "" + } } } }