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 {
agent any
stages {
stage('test') {
steps {
parallel(
"test": {
echo 'hello world'
},
"": {
build 'pet clinic'
}
)
}
agent { docker 'maven:3.3.3' }
stages {
stage('build') {
steps {
sh 'mvn --version'
}
}
}
stage('done') {
steps {
echo 'Done!!!'
}
}
}
}