mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
dda5b23980
commit
99f7503896
1 changed files with 10 additions and 4 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -8,16 +8,19 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
|
slackSend color: 'good', message: 'Build step'
|
||||||
sh 'mvn clean'
|
sh 'mvn clean'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
steps {
|
steps {
|
||||||
|
slackSend color: 'good', message: 'Test step'
|
||||||
sh 'mvn test'
|
sh 'mvn test'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Package') {
|
stage('Package') {
|
||||||
steps {
|
steps {
|
||||||
|
slackSend color: 'good', message: 'Package step'
|
||||||
sh 'mvn package'
|
sh 'mvn package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,8 +32,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
slackSend color: 'good', message: 'Deployment step'
|
||||||
sh 'mvn deploy'
|
sh 'mvn deploy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
slackSend color: 'good', message: 'Build Succeeded'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue