Commit fd5e1a72 authored by Amena's avatar Amena

Update Jenkinsfile

parent 6b40eda5
......@@ -12,8 +12,8 @@ podTemplate(label: label,
stage('Build a Node project') {
git 'https://gitlab.mynisum.com/amenaafreen/node-app-test1.git'
container('node') {
// sh 'npm config set cache /home/jenkins/workspace/${JOB_NAME}/npm-cache && npm install'
sh 'npm config set cache npm-cache && npm install'
sh 'npm config set cache /home/jenkins/workspace/${JOB_NAME}/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