-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail jenkins build unless ci-stats reports success #98846
Conversation
8f8233f
to
822f1b4
Compare
Pinging @elastic/kibana-operations (Team:Operations) |
@elasticmachine merge upstream Looks like the build from when master was merged but this PR was momentarily still based on 7.13 just finished, and the "mergeBase" was from 2019 when we forked 7.x. Reminder to myself: need to make sure ci-stats is returning |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
Co-authored-by: spalger <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: spalger <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: spalger <[email protected]> Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Spencer <[email protected]> Co-authored-by: spalger <[email protected]>
Co-authored-by: spalger <[email protected]> Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Spencer <[email protected]> Co-authored-by: spalger <[email protected]>
CI Stats has been writing the status of metrics to Kibana PRs for a while, which keeps people from merging those PRs, but it doesn't fail the actual Jenkins job which is confusing, and has lead to auto-merging allowing PRs with failed metrics (only been a problem on one backport so far).
This fixes the problem by adding a check to the Jenkins pipeline, not just when creating the comment but as a step in the pipeline that fails when ci-stats is not reporting a success (this might be because metrics are over a limit, or because of some other failure in the ci-stats service).