mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
This commit is contained in:
parent
1870be1022
commit
7d46d7c93f
1 changed files with 5 additions and 3 deletions
|
@ -79,10 +79,12 @@ def base(Map params, Closure closure) {
|
|||
dir("kibana") {
|
||||
checkoutInfo = getCheckoutInfo()
|
||||
|
||||
// use `checkoutInfo` as a flag to indicate that we've already reported the pending commit status
|
||||
if (buildState.get('shouldSetCommitStatus') && !buildState.has('checkoutInfo')) {
|
||||
if (!buildState.has('checkoutInfo')) {
|
||||
buildState.set('checkoutInfo', checkoutInfo)
|
||||
githubCommitStatus.onStart()
|
||||
|
||||
if (buildState.get('shouldSetCommitStatus')) {
|
||||
githubCommitStatus.onStart()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue