mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-02-11 17:01:11 +00:00
Update Jenkinsfile.pr
Signed-off-by: Riz Urian <98958099+rizjosel@users.noreply.github.com>
This commit is contained in:
parent
76cd447401
commit
52dae1a9d5
1 changed files with 12 additions and 9 deletions
|
|
@ -12,13 +12,10 @@ pipeline {
|
|||
|
||||
stage('Notify GitHub Pending') {
|
||||
steps {
|
||||
githubNotify context: 'Jenkins CI', status: 'PENDING'
|
||||
}
|
||||
}
|
||||
|
||||
stage('List Workspace') {
|
||||
steps {
|
||||
sh 'ls -l'
|
||||
setGitHubPullRequestStatus(
|
||||
context: 'Jenkins CI',
|
||||
status: 'PENDING'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -53,10 +50,16 @@ pipeline {
|
|||
|
||||
post {
|
||||
success {
|
||||
githubNotify context: 'Jenkins CI', status: 'SUCCESS'
|
||||
setGitHubPullRequestStatus(
|
||||
context: 'Jenkins CI',
|
||||
status: 'SUCCESS'
|
||||
)
|
||||
}
|
||||
failure {
|
||||
githubNotify context: 'Jenkins CI', status: 'FAILURE'
|
||||
setGitHubPullRequestStatus(
|
||||
context: 'Jenkins CI',
|
||||
status: 'FAILURE'
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue