Skip to content

Commit 471ffa8

Browse files
committed
Fix syntax
1 parent 35cc486 commit 471ffa8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Jenkinsfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ pipeline {
9191
npmGithubPrComment("CI Error:\n\n```\n${shOutput}\n```", true)
9292
}
9393
success {
94-
shOutput = ""
94+
script {
95+
shOutput = ""
96+
}
9597
}
9698
}
9799
}
@@ -141,7 +143,9 @@ pipeline {
141143
}
142144
success {
143145
archiveArtifacts allowEmptyArchive: false, artifacts: 'bin/*'
144-
shOutput = ""
146+
script {
147+
shOutput = ""
148+
}
145149
}
146150
}
147151
}

0 commit comments

Comments
 (0)