mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Update Jenkinsfile
This commit is contained in:
parent
99f7503896
commit
5410297b32
1 changed files with 4 additions and 9 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -7,20 +7,17 @@ pipeline {
|
|||
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
slackSend color: 'good', message: 'Build step'
|
||||
steps {
|
||||
sh 'mvn clean'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
slackSend color: 'good', message: 'Test step'
|
||||
steps {
|
||||
sh 'mvn test'
|
||||
}
|
||||
}
|
||||
stage('Package') {
|
||||
steps {
|
||||
slackSend color: 'good', message: 'Package step'
|
||||
steps {
|
||||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
|
@ -32,11 +29,9 @@ pipeline {
|
|||
}
|
||||
}
|
||||
steps {
|
||||
slackSend color: 'good', message: 'Deployment step'
|
||||
sh 'mvn deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
slackSend color: 'good', message: 'Build Succeeded'
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue