Commit 6ac52131 authored by Amena's avatar Amena

Update Jenkinsfile

parent 53fb7d77
@Library('jenkins-shared-library') _
podTemplate(
containers: [containerTemplate(name: 'node', image: 'node:9', command: 'cat', ttyEnabled: true,)
MPLPipeline {}
],
volumes: [
persistentVolumeClaim(mountPath: 'node_modules', claimName: 'pvc', readOnly: false)
]) {
node(POD_LABEL) {
stage('Build a Maven project') {
git 'https://gitlab.mynisum.com/amenaafreen/node-app-test1.git'
container('node') {
sh '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