Skip to content

Commit

Permalink
ci: create GitHub issue if build failure (elastic#31954)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Jun 17, 2022
1 parent 6b830b2 commit f79397d
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 f79397d

Please sign in to comment.