Commit 8690f83f authored by Amena's avatar Amena

Update Jenkinsfile

parent 87a4c867
...@@ -9,17 +9,17 @@ podTemplate(label: label, ...@@ -9,17 +9,17 @@ podTemplate(label: label,
]) { ]) {
node(label) { node(label) {
options {
ansiColor('xterm') timestamps {
} ansiColor("xterm") {
stage('Build a Node project') { stage('Build a Node project') {
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 'npm config set cache /home/jenkins/workspace/node_modules && npm install'
// 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