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 = "" + } } } }