Commit c972c4db authored by Amena's avatar Amena

Update Jenkinsfile

parent fc41df4a
...@@ -11,9 +11,10 @@ podTemplate(label: label, ...@@ -11,9 +11,10 @@ podTemplate(label: label,
node(label) { node(label) {
timestamps {
ansiColor("xterm") {
stage('Build a Node project') { stage('Build a Node project') {
ansiColor("xterm") {
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'
...@@ -22,7 +23,7 @@ podTemplate(label: label, ...@@ -22,7 +23,7 @@ podTemplate(label: label,
} }
} }
} }
}
} }
} }
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