Commit 4c113275 authored by Amena's avatar Amena

Update Jenkinsfile

parent d8f58a55
...@@ -18,10 +18,10 @@ podTemplate(label: label, ...@@ -18,10 +18,10 @@ podTemplate(label: label,
git 'https://gitlab.mynisum.com/amenaafreen/node-app-test1.git' git 'https://gitlab.mynisum.com/amenaafreen/node-app-test1.git'
container('node') { container('node') {
sh 'npm config set cache /home/jenkins/workspace/node_modules && npm install'
// sh "\033[31m npm config set cache /home/jenkins/workspace/node_modules \033[0m"
sh "\033[31m npm config set cache /home/jenkins/workspace/node_modules \033[0m" // sh "\033[31m npm install \033[0m"
sh "\033[31m npm install \033[0m"
// sh 'npm config set cache npm-cache && npm install' // sh 'npm config set cache npm-cache && npm install'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment