jenkins 6: revenge of the mantainer

This commit is contained in:
Araozu 2023-11-04 10:26:30 -05:00
parent 81540dcb9d
commit d37229aebc

3
Jenkinsfile vendored
View File

@ -66,8 +66,7 @@ pipeline {
}
stage('Start app with PM2') {
environment {
PATH = "/var/lib/jenkins/.nvm/versions/node/v18.18.0/bin:${env.PATH}"
PATH = "/var/lib/jenkins/.local/share/pnpm:${env.PATH}"
PATH = "/var/lib/jenkins/.local/share/pnpm:/var/lib/jenkins/.nvm/versions/node/v18.18.0/bin:${env.PATH}"
}
steps {
dir("/var/deploys/${env.JOB_BASE_NAME}/") {