Commit 98dbdbff authored by Amena's avatar Amena

Update Jenkinsfile

parent 1014334b
...@@ -14,10 +14,11 @@ podTemplate(label: label, ...@@ -14,10 +14,11 @@ podTemplate(label: label,
ansiColor("xterm") { ansiColor("xterm") {
stage('Build a Node project') { stage('Build a Node project') {
sh 'printf "\\e[31mHello World\\e[0m\\n"'
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 'printf "\\e[31mHello World\\e[0m\\n"'
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