mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-02-12 09:11:12 +00:00
Update Jenkinsfile.pr
Signed-off-by: Riz Urian <98958099+rizjosel@users.noreply.github.com>
This commit is contained in:
parent
5b31262628
commit
ac3e48b5aa
1 changed files with 21 additions and 0 deletions
|
|
@ -15,6 +15,14 @@ pipeline {
|
|||
|
||||
stages {
|
||||
|
||||
stage('Notify GitHub Pending') {
|
||||
steps {
|
||||
script {
|
||||
githubNotify context: 'Jenkins CI', status: 'PENDING'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('List Workspace') {
|
||||
steps {
|
||||
sh 'ls -l'
|
||||
|
|
@ -68,4 +76,17 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
success {
|
||||
script {
|
||||
githubNotify context: 'Jenkins CI', status: 'SUCCESS'
|
||||
}
|
||||
}
|
||||
failure {
|
||||
script {
|
||||
githubNotify context: 'Jenkins CI', status: 'FAILURE'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue