Created
October 13, 2016 18:42
-
-
Save mllrjb/d9b0ad8b4587b097790a4e5c0c3ef4f1 to your computer and use it in GitHub Desktop.
Jenkinsfile Github Commit Status Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!groovy | |
step([$class: 'GitHubCommitStatusSetter', | |
contextSource: [$class: 'ManuallyEnteredCommitContextSource', context: 'preflight-build'], | |
statusResultSource: [$class: 'ConditionalStatusResultSource', | |
results: [[$class: 'AnyBuildResult', message: 'Preflight build successful', state: 'SUCCESS']]]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment