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