1439b11fd2
* [jenkins] add pipeline for hourly security solution cypress tests * support customizing email for status emails * apply review feedback Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
22 lines
547 B
Groovy
22 lines
547 B
Groovy
#!/bin/groovy
|
|
|
|
library 'kibana-pipeline-library'
|
|
kibanaLibrary.load()
|
|
|
|
kibanaPipeline(timeoutMinutes: 180) {
|
|
slackNotifications.onFailure(
|
|
disabled: !params.NOTIFY_ON_FAILURE,
|
|
channel: '#security-solution-slack-testing'
|
|
) {
|
|
catchError {
|
|
workers.base(size: 's', ramDisk: false) {
|
|
kibanaPipeline.bash('test/scripts/jenkins_security_solution_cypress.sh', 'Execute Security Solution Cypress Tests')
|
|
}
|
|
}
|
|
}
|
|
|
|
if (params.NOTIFY_ON_FAILURE) {
|
|
kibanaPipeline.sendMail(to: 'gloria.delatorre@elastic.co')
|
|
}
|
|
}
|