Fix syntax

This commit is contained in:
Jamie Curnow 2023-03-08 16:15:20 +10:00
parent 35cc486fd7
commit 471ffa8dff
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E

4
Jenkinsfile vendored
View File

@ -91,10 +91,12 @@ pipeline {
npmGithubPrComment("CI Error:\n\n```\n${shOutput}\n```", true) npmGithubPrComment("CI Error:\n\n```\n${shOutput}\n```", true)
} }
success { success {
script {
shOutput = "" shOutput = ""
} }
} }
} }
}
stage('Backend') { stage('Backend') {
steps { steps {
withCredentials([string(credentialsId: 'npm-sentry-dsn', variable: 'SENTRY_DSN')]) { withCredentials([string(credentialsId: 'npm-sentry-dsn', variable: 'SENTRY_DSN')]) {
@ -141,10 +143,12 @@ pipeline {
} }
success { success {
archiveArtifacts allowEmptyArchive: false, artifacts: 'bin/*' archiveArtifacts allowEmptyArchive: false, artifacts: 'bin/*'
script {
shOutput = "" shOutput = ""
} }
} }
} }
}
stage('Test') { stage('Test') {
when { when {
not { not {