Commit c073732c authored by Amena's avatar Amena

Update Jenkinsfile

parent 6b0f4822
Pipeline #1029 passed with stage
...@@ -7,10 +7,10 @@ podTemplate(label: label, ...@@ -7,10 +7,10 @@ podTemplate(label: label,
volumes: [ volumes: [
persistentVolumeClaim(mountPath: '/home/jenkins/workspace', claimName: 'pvc', readOnly: false) persistentVolumeClaim(mountPath: '/home/jenkins/workspace', claimName: 'pvc', readOnly: false)
]) { ]) {
ansiColor("xterm") {
node(label) { node(label) {
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') {
...@@ -20,6 +20,5 @@ podTemplate(label: label, ...@@ -20,6 +20,5 @@ 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