mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
test 6
This commit is contained in:
parent
3b37c58dfb
commit
32bee7d881
1 changed files with 12 additions and 24 deletions
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
|
@ -1,25 +1,12 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
|
script {
|
||||||
try {
|
try {
|
||||||
notifySlack('STARTED')
|
notifySlack('STARTED')
|
||||||
|
|
||||||
stage('Prepare code') {
|
stage('Build') {
|
||||||
echo 'do checkout stuff'
|
echo 'build'
|
||||||
}
|
|
||||||
|
|
||||||
stage('Testing') {
|
|
||||||
echo 'Testing'
|
|
||||||
echo 'Testing - publish coverage results'
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Staging') {
|
|
||||||
echo 'Deploy Stage'
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Deploy') {
|
|
||||||
echo 'Deploy - Backend'
|
|
||||||
echo 'Deploy - Frontend'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
@ -32,6 +19,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
def notifySlack(String buildStatus = 'STARTED') {
|
def notifySlack(String buildStatus = 'STARTED') {
|
||||||
// build status of null means successful
|
// build status of null means successful
|
||||||
|
|
Loading…
Reference in a new issue