Jenkinsfile pt2: Electric boogaloo

This commit is contained in:
Araozu 2023-11-08 06:01:57 -05:00
parent 1acb22e1fe
commit 8cbdd6d7f9

View File

@ -7,7 +7,7 @@ pipeline {
PATH = "/var/lib/jenkins/.nvm/versions/node/v20.9.0/bin:${env.PATH}"
}
steps {
sh "pm2 stop ${env.JOB_NAME}"
sh "pm2 stop ${env.JOB_NAME} || true"
}
}
stage('Build') {