Commit e7cb3a79 authored by Amena's avatar Amena

Update Jenkinsfile

parent f2a8e92d
......@@ -19,10 +19,7 @@ podTemplate(label: label,
git 'https://gitlab.mynisum.com/amenaafreen/node-app-test1.git'
container('node') {
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 /home/jenkins/workspace/node_modules && 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