Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
include ci-stats metrics in pr comment (elastic#68563)
Browse files Browse the repository at this point in the history
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	Jenkinsfile
  • Loading branch information
Spencer authored and spalger committed Jun 12, 2020
1 parent 4c60661 commit 0b72c3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ library 'kibana-pipeline-library'
kibanaLibrary.load()

kibanaPipeline(timeoutMinutes: 135, checkPrChanges: true) {
ciStats.trackBuild {
githubPr.withDefaultPrComments {
githubPr.withDefaultPrComments {
ciStats.trackBuild {
catchError {
retryable.enable()
parallel([
Expand Down Expand Up @@ -53,10 +53,10 @@ kibanaPipeline(timeoutMinutes: 135, checkPrChanges: true) {
])
}
}
}

if (params.NOTIFY_ON_FAILURE) {
slackNotifications.onFailure()
kibanaPipeline.sendMail()
}
if (params.NOTIFY_ON_FAILURE) {
slackNotifications.onFailure()
kibanaPipeline.sendMail()
}
}
1 change: 1 addition & 0 deletions vars/githubPr.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def getNextCommentMessage(previousCommentInfo = [:]) {
}

messages << getTestFailuresMessage()
messages << ciStats.getMetricsReport()

if (info.builds && info.builds.size() > 0) {
messages << getHistoryText(info.builds)
Expand Down

0 comments on commit 0b72c3a

Please sign in to comment.