Skip to content

Commit

Permalink
[CI][flaky] reporting for PRs in GitHub (elastic#21853) (elastic#22195)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Oct 28, 2020
1 parent cd565c2 commit 69492f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 7 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,13 @@ pipeline {
runbld(stashedTestReports: stashedTestReports, project: env.REPO)
}
cleanup {
notifyBuildResult(prComment: true, slackComment: true, slackNotify: (isBranch() || isTag()))
// Required to enable the flaky test reporting with GitHub. Workspace exists since the post/always runs earlier
dir("${BASE_DIR}"){
// TODO analyzeFlakey does not support other release branches but the master branch.
notifyBuildResult(prComment: true,
slackComment: true, slackNotify: (isBranch() || isTag()),
analyzeFlakey: true, flakyReportIdx: "reporter-beats-beats-master")
}
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,4 @@ stages:
labels:
- "windows-10"
branches: true ## for all the branches
tags: true ## for all the tags
branches: true ## for all the branches
tags: true ## for all the tags
tags: true ## for all the tags

0 comments on commit 69492f4

Please sign in to comment.