Skip to content

Commit

Permalink
[ci/pipeline/reportFailures] when aborted, run with --no-github-update (
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer authored Dec 6, 2019
1 parent 6af9f9b commit e17539c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vars/kibanaPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,13 @@ def buildXpack() {
}

def runErrorReporter() {
def status = buildUtils.getBuildStatus()
def dryRun = status != "ABORTED" ? "" : "--no-github-update"

bash(
"""
source src/dev/ci_setup/setup_env.sh
node scripts/report_failed_tests
node scripts/report_failed_tests ${dryRun}
""",
"Report failed tests, if necessary"
)
Expand Down

0 comments on commit e17539c

Please sign in to comment.