47 lines
2.2 KiB
Groovy
47 lines
2.2 KiB
Groovy
#!/bin/groovy
|
|
|
|
library 'kibana-pipeline-library'
|
|
kibanaLibrary.load()
|
|
|
|
stage("Kibana Pipeline") { // This stage is just here to help the BlueOcean UI a little bit
|
|
timeout(time: 135, unit: 'MINUTES') {
|
|
timestamps {
|
|
ansiColor('xterm') {
|
|
githubPr.withDefaultPrComments {
|
|
catchError {
|
|
retryable.enable()
|
|
parallel([
|
|
'kibana-intake-agent': kibanaPipeline.legacyJobRunner('kibana-intake'),
|
|
'x-pack-intake-agent': kibanaPipeline.legacyJobRunner('x-pack-intake'),
|
|
'kibana-oss-agent': kibanaPipeline.withWorkers('kibana-oss-tests', { kibanaPipeline.buildOss() }, [
|
|
'oss-ciGroup1': kibanaPipeline.getOssCiGroupWorker(1),
|
|
'oss-ciGroup2': kibanaPipeline.getOssCiGroupWorker(2),
|
|
'oss-ciGroup3': kibanaPipeline.getOssCiGroupWorker(3),
|
|
'oss-ciGroup4': kibanaPipeline.getOssCiGroupWorker(4),
|
|
'oss-ciGroup5': kibanaPipeline.getOssCiGroupWorker(5),
|
|
'oss-ciGroup6': kibanaPipeline.getOssCiGroupWorker(6),
|
|
'oss-ciGroup7': kibanaPipeline.getOssCiGroupWorker(7),
|
|
'oss-ciGroup8': kibanaPipeline.getOssCiGroupWorker(8),
|
|
'oss-ciGroup9': kibanaPipeline.getOssCiGroupWorker(9),
|
|
'oss-ciGroup10': kibanaPipeline.getOssCiGroupWorker(10),
|
|
'oss-ciGroup11': kibanaPipeline.getOssCiGroupWorker(11),
|
|
'oss-ciGroup12': kibanaPipeline.getOssCiGroupWorker(12),
|
|
]),
|
|
'kibana-xpack-agent': kibanaPipeline.withWorkers('kibana-xpack-tests', { kibanaPipeline.buildXpack() }, [
|
|
'xpack-ciGroup1': kibanaPipeline.getXpackCiGroupWorker(1),
|
|
'xpack-ciGroup2': kibanaPipeline.getXpackCiGroupWorker(2),
|
|
'xpack-ciGroup3': kibanaPipeline.getXpackCiGroupWorker(3),
|
|
'xpack-ciGroup4': kibanaPipeline.getXpackCiGroupWorker(4),
|
|
'xpack-ciGroup5': kibanaPipeline.getXpackCiGroupWorker(5),
|
|
'xpack-ciGroup6': kibanaPipeline.getXpackCiGroupWorker(6),
|
|
]),
|
|
])
|
|
}
|
|
}
|
|
|
|
retryable.printFlakyFailures()
|
|
kibanaPipeline.sendMail()
|
|
}
|
|
}
|
|
}
|
|
}
|