2018-11-12 22:03:18 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# move to Kibana root
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
|
2019-08-06 02:20:23 +02:00
|
|
|
source src/dev/ci_setup/load_env_keys.sh
|
2019-06-20 20:45:35 +02:00
|
|
|
source src/dev/ci_setup/extract_bootstrap_cache.sh
|
2018-11-29 00:37:36 +01:00
|
|
|
source src/dev/ci_setup/setup.sh
|
2019-03-13 19:51:06 +01:00
|
|
|
source src/dev/ci_setup/checkout_sibling_es.sh
|
2018-11-20 23:22:44 +01:00
|
|
|
|
2019-08-29 06:08:58 +02:00
|
|
|
case "$JOB" in
|
2019-09-12 00:27:43 +02:00
|
|
|
intake)
|
2019-08-29 06:08:58 +02:00
|
|
|
./test/scripts/jenkins_unit.sh
|
|
|
|
;;
|
|
|
|
kibana-ciGroup*)
|
|
|
|
export CI_GROUP="${JOB##kibana-ciGroup}"
|
|
|
|
./test/scripts/jenkins_ci_group.sh
|
|
|
|
;;
|
|
|
|
kibana-visualRegression*)
|
|
|
|
./test/scripts/jenkins_visual_regression.sh
|
|
|
|
;;
|
2019-09-12 00:27:43 +02:00
|
|
|
firefoxSmoke*)
|
2019-08-29 06:08:58 +02:00
|
|
|
./test/scripts/jenkins_firefox_smoke.sh
|
|
|
|
;;
|
|
|
|
x-pack-ciGroup*)
|
|
|
|
export CI_GROUP="${JOB##x-pack-ciGroup}"
|
|
|
|
./test/scripts/jenkins_xpack_ci_group.sh
|
|
|
|
;;
|
|
|
|
x-pack-visualRegression*)
|
|
|
|
./test/scripts/jenkins_xpack_visual_regression.sh
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "JOB '$JOB' is not implemented."
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|