From d37229aebcab6aad7c3545c329e08739fadd5173 Mon Sep 17 00:00:00 2001 From: Araozu Date: Sat, 4 Nov 2023 10:26:30 -0500 Subject: [PATCH] jenkins 6: revenge of the mantainer --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 75ad0e8..1beae20 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}/") {