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
dda5b23980
commit
99f7503896
1 changed files with 10 additions and 4 deletions
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -7,17 +7,20 @@ pipeline {
|
|||
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
steps {
|
||||
slackSend color: 'good', message: 'Build step'
|
||||
sh 'mvn clean'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
steps {
|
||||
slackSend color: 'good', message: 'Test step'
|
||||
sh 'mvn test'
|
||||
}
|
||||
}
|
||||
stage('Package') {
|
||||
steps {
|
||||
steps {
|
||||
slackSend color: 'good', message: 'Package step'
|
||||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
|
@ -29,8 +32,11 @@ pipeline {
|
|||
}
|
||||
}
|
||||
steps {
|
||||
slackSend color: 'good', message: 'Deployment step'
|
||||
sh 'mvn deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
slackSend color: 'good', message: 'Build Succeeded'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue