2020-08-15 01:32:45 +02:00
|
|
|
#!/bin/groovy
|
|
|
|
|
|
|
|
library 'kibana-pipeline-library'
|
|
|
|
kibanaLibrary.load()
|
|
|
|
|
|
|
|
kibanaPipeline(timeoutMinutes: 180) {
|
|
|
|
slackNotifications.onFailure(
|
|
|
|
disabled: !params.NOTIFY_ON_FAILURE,
|
|
|
|
channel: '#security-solution-slack-testing'
|
|
|
|
) {
|
|
|
|
catchError {
|
2020-08-18 05:48:22 +02:00
|
|
|
withEnv([
|
2021-02-10 01:09:02 +01:00
|
|
|
'CI_PARALLEL_PROCESS_NUMBER=1',
|
|
|
|
'IGNORE_SHIP_CI_STATS_ERROR=true',
|
2020-08-18 05:48:22 +02:00
|
|
|
]) {
|
|
|
|
def job = 'xpack-securityCypress'
|
|
|
|
|
|
|
|
workers.ci(name: job, size: 'l', ramDisk: true) {
|
|
|
|
kibanaPipeline.bash('test/scripts/jenkins_xpack_build_kibana.sh', 'Build Default Distributable')
|
2021-02-23 01:05:28 +01:00
|
|
|
kibanaPipeline.functionalTestProcess(job, 'test/scripts/jenkins_security_solution_cypress_chrome.sh')()
|
2021-02-23 21:06:46 +01:00
|
|
|
// Temporarily disabled to figure out test flake
|
|
|
|
// kibanaPipeline.functionalTestProcess(job, 'test/scripts/jenkins_security_solution_cypress_firefox.sh')()
|
2020-08-18 05:48:22 +02:00
|
|
|
}
|
2020-08-15 01:32:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (params.NOTIFY_ON_FAILURE) {
|
2020-08-17 18:54:59 +02:00
|
|
|
kibanaPipeline.sendMail(to: 'siem_dev_team@elastic.co')
|
2020-08-15 01:32:45 +02:00
|
|
|
}
|
|
|
|
}
|