Jenkinsfile pt2: Electric boogaloo
parent
1acb22e1fe
commit
8cbdd6d7f9
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue