Update Jenkinsfile

This commit is contained in:
Tan Yong Heng 2017-07-22 11:22:19 +08:00 committed by GitHub
parent 05e69c51cc
commit a53a01ba44

29
Jenkinsfile vendored
View file

@ -1,24 +1,11 @@
Jenkinsfile (Declarative Pipeline)
pipeline { pipeline {
agent any agent { docker 'maven:3.3.3' }
stages { stages {
stage('test') { stage('build') {
steps { steps {
parallel( sh 'mvn --version'
"test": { }
echo 'hello world' }
},
"": {
build 'pet clinic'
}
)
}
} }
stage('done') {
steps {
echo 'Done!!!'
}
}
}
} }