[7.x] [ci/pipeline/reportFailures] when aborted, run with --no… (#52423)

This commit is contained in:
Spencer 2019-12-06 14:23:29 -07:00 committed by GitHub
parent 3b71c461e4
commit 1e812b25c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
)