jenkins 6: revenge of the mantainer
This commit is contained in:
parent
81540dcb9d
commit
d37229aebc
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -66,8 +66,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Start app with PM2') {
|
stage('Start app with PM2') {
|
||||||
environment {
|
environment {
|
||||||
PATH = "/var/lib/jenkins/.nvm/versions/node/v18.18.0/bin:${env.PATH}"
|
PATH = "/var/lib/jenkins/.local/share/pnpm:/var/lib/jenkins/.nvm/versions/node/v18.18.0/bin:${env.PATH}"
|
||||||
PATH = "/var/lib/jenkins/.local/share/pnpm:${env.PATH}"
|
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
dir("/var/deploys/${env.JOB_BASE_NAME}/") {
|
dir("/var/deploys/${env.JOB_BASE_NAME}/") {
|
||||||
|
Loading…
Reference in New Issue
Block a user