mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
Jenkins8
This commit is contained in:
parent
033d589032
commit
e27f25af28
1 changed files with 9 additions and 1 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -1,4 +1,12 @@
|
|||
|
||||
void setBuildStatus(String message, String state) {
|
||||
step([
|
||||
$class: "GitHubCommitStatusSetter",
|
||||
reposSource: [$class: "ManuallyEnteredRepositorySource", url: "https://github.com/Firassawan/spring-petclinic"],
|
||||
contextSource: [$class: "ManuallyEnteredCommitContextSource", context: "ci/jenkins/build-status"],
|
||||
errorHandlers: [[$class: "ChangingBuildStatusErrorHandler", result: "UNSTABLE"]],
|
||||
statusResultSource: [ $class: "ConditionalStatusResultSource", results: [[$class: "AnyBuildResult", message: message, state: state]] ]
|
||||
]);
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
|
|
Loading…
Reference in a new issue