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
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
|
@ -3,22 +3,31 @@ pipeline {
|
|||
try {
|
||||
notifyBuild('STARTED')
|
||||
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh './mvnw package'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Testing') {
|
||||
steps {
|
||||
echo 'Testing'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Package') {
|
||||
echo 'Staging'
|
||||
steps {
|
||||
echo 'Packaging'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Deploy') {
|
||||
echo 'Deploy'
|
||||
steps {
|
||||
echo 'Deploying'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
// If there was an exception thrown, the build failed
|
||||
currentBuild.result = "FAILED"
|
||||
|
|
Loading…
Reference in a new issue