mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
fixing
This commit is contained in:
parent
db85f23189
commit
2593ed00e5
1 changed files with 21 additions and 12 deletions
33
Jenkinsfile
vendored
33
Jenkinsfile
vendored
|
@ -3,22 +3,31 @@ pipeline {
|
||||||
try {
|
try {
|
||||||
notifyBuild('STARTED')
|
notifyBuild('STARTED')
|
||||||
|
|
||||||
stage('Build') {
|
stages {
|
||||||
sh './mvnw package'
|
stage('Build') {
|
||||||
}
|
steps {
|
||||||
|
sh './mvnw package'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Testing') {
|
stage('Testing') {
|
||||||
echo 'Testing'
|
steps {
|
||||||
}
|
echo 'Testing'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Package') {
|
stage('Package') {
|
||||||
echo 'Staging'
|
steps {
|
||||||
}
|
echo 'Packaging'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
echo 'Deploy'
|
steps {
|
||||||
|
echo 'Deploying'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// If there was an exception thrown, the build failed
|
// If there was an exception thrown, the build failed
|
||||||
currentBuild.result = "FAILED"
|
currentBuild.result = "FAILED"
|
||||||
|
|
Loading…
Reference in a new issue