Commit f2a8e92d authored by Amena's avatar Amena

Update Jenkinsfile

parent f16b3f05
...@@ -19,7 +19,10 @@ podTemplate(label: label, ...@@ -19,7 +19,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 '\033[31m npm config set cache /home/jenkins/workspace/node_modules \033[0m && \033[31m npm install \033[0m' sh '''\
\033[31m npm config set cache /home/jenkins/workspace/node_modules \033[0m
\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