mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
* WIP Jenkinsfile for flaky test runner * Fix syntax * A few more jenkinsfile fixes * A few more fixes * Can't round numbers in Jenkins groovy sandbox apparently * More fixes * Only do build_kbn_tp_sample_panel_action once during flaky testing * Fix path and try setting a different JOB value * Keep track of flaky test failures * Introduce flaky test for testing * Some flaky test pipeline cleanup * Fix a couple of issues with flaky test failure tracking * Update flaky test runner build name/desc with metadata * Revert "Introduce flaky test for testing" This reverts commit 202e9d86cf130ef37aff1817781a5b694aa2aa32. * Try adding a local shared library * Move local library loading logic to kibana pipeline library * Move shared groovy code to shared library * Add missed file * Add ability to specify multiple agents for flaky test runner * Update kibana-pipeline-library version * Fix bug causing early exit for oss ciGroup1
51 lines
2.9 KiB
Groovy
51 lines
2.9 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: 180, unit: 'MINUTES') {
|
|
timestamps {
|
|
ansiColor('xterm') {
|
|
catchError {
|
|
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),
|
|
'oss-firefoxSmoke': kibanaPipeline.getPostBuildWorker('firefoxSmoke', { runbld './test/scripts/jenkins_firefox_smoke.sh' }),
|
|
// 'oss-visualRegression': kibanaPipeline.getPostBuildWorker('visualRegression', { runbld './test/scripts/jenkins_visual_regression.sh' }),
|
|
]),
|
|
'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),
|
|
'xpack-ciGroup7': kibanaPipeline.getXpackCiGroupWorker(7),
|
|
'xpack-ciGroup8': kibanaPipeline.getXpackCiGroupWorker(8),
|
|
'xpack-ciGroup9': kibanaPipeline.getXpackCiGroupWorker(9),
|
|
'xpack-ciGroup10': kibanaPipeline.getXpackCiGroupWorker(10),
|
|
'xpack-firefoxSmoke': kibanaPipeline.getPostBuildWorker('xpack-firefoxSmoke', { runbld './test/scripts/jenkins_xpack_firefox_smoke.sh' }),
|
|
// 'xpack-visualRegression': kibanaPipeline.getPostBuildWorker('xpack-visualRegression', { runbld './test/scripts/jenkins_xpack_visual_regression.sh' }),
|
|
]),
|
|
])
|
|
}
|
|
kibanaPipeline.sendMail()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|