Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Spencer <email@spalger.com> Co-authored-by: spalger <spalger@users.noreply.github.com>
22 lines
508 B
Groovy
22 lines
508 B
Groovy
#!/bin/groovy
|
|
|
|
library 'kibana-pipeline-library'
|
|
kibanaLibrary.load()
|
|
|
|
kibanaPipeline(timeoutMinutes: 210, checkPrChanges: true, setCommitStatus: true) {
|
|
slackNotifications.onFailure(disabled: !params.NOTIFY_ON_FAILURE) {
|
|
githubPr.withDefaultPrComments {
|
|
ciStats.trackBuild(requireSuccess: githubPr.isPr()) {
|
|
catchError {
|
|
retryable.enable()
|
|
kibanaPipeline.allCiTasks()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
if (params.NOTIFY_ON_FAILURE) {
|
|
kibanaPipeline.sendMail()
|
|
}
|
|
}
|