Skip to content

Commit

Permalink
ci: create GitHub issue if build failure (elastic#31954) (elastic#31967)
Browse files Browse the repository at this point in the history
(cherry picked from commit f79397d)

Co-authored-by: Victor Martinez <[email protected]>
  • Loading branch information
mergify[bot] and v1v authored Jun 20, 2022
1 parent c409fe4 commit ffe1cba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ VERSION=${env.VERSION}-SNAPSHOT""")
dir("${BASE_DIR}"){
notifyBuildResult(prComment: true,
slackComment: true,
analyzeFlakey: !isTag(), jobName: getFlakyJobName(withBranch: getFlakyBranch()))
analyzeFlakey: !isTag(), jobName: getFlakyJobName(withBranch: getFlakyBranch()),
githubIssue: isBranch() && currentBuild.currentResult != "SUCCESS",
githubLabels: 'Team:Elastic-Agent-Data-Plane')
}
}
}
Expand Down

0 comments on commit ffe1cba

Please sign in to comment.