mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
include ci-stats metrics in pr comment (#68563)
Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
6f084dfa92
commit
0577f9bdcf
2 changed files with 7 additions and 6 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -4,8 +4,8 @@ library 'kibana-pipeline-library'
|
|||
kibanaLibrary.load()
|
||||
|
||||
kibanaPipeline(timeoutMinutes: 155, checkPrChanges: true) {
|
||||
ciStats.trackBuild {
|
||||
githubPr.withDefaultPrComments {
|
||||
githubPr.withDefaultPrComments {
|
||||
ciStats.trackBuild {
|
||||
catchError {
|
||||
retryable.enable()
|
||||
parallel([
|
||||
|
@ -53,10 +53,10 @@ kibanaPipeline(timeoutMinutes: 155, checkPrChanges: true) {
|
|||
])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (params.NOTIFY_ON_FAILURE) {
|
||||
slackNotifications.onFailure()
|
||||
kibanaPipeline.sendMail()
|
||||
}
|
||||
if (params.NOTIFY_ON_FAILURE) {
|
||||
slackNotifications.onFailure()
|
||||
kibanaPipeline.sendMail()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -186,6 +186,7 @@ def getNextCommentMessage(previousCommentInfo = [:]) {
|
|||
}
|
||||
|
||||
messages << getTestFailuresMessage()
|
||||
messages << ciStats.getMetricsReport()
|
||||
|
||||
if (info.builds && info.builds.size() > 0) {
|
||||
messages << getHistoryText(info.builds)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue