Commit 6a81d142 authored by Amena's avatar Amena

Update Jenkinsfile

parent c972c4db
......@@ -7,14 +7,14 @@ podTemplate(label: label,
volumes: [
persistentVolumeClaim(mountPath: '/home/jenkins/workspace', claimName: 'pvc', readOnly: false)
]) {
ansiColor("xterm") {
node(label) {
stage('Build a Node project') {
ansiColor("xterm") {
git 'https://gitlab.mynisum.com/amenaafreen/node-app-test1.git'
container('node') {
sh 'npm config set cache /home/jenkins/workspace/node_modules && 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