47 lines
1 KiB
Bash
Executable file
47 lines
1 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# move to Kibana root
|
|
cd "$(dirname "$0")/.."
|
|
|
|
source src/dev/ci_setup/load_env_keys.sh
|
|
source src/dev/ci_setup/extract_bootstrap_cache.sh
|
|
source src/dev/ci_setup/setup.sh
|
|
source src/dev/ci_setup/checkout_sibling_es.sh
|
|
|
|
for _JOB in $(JOB//,/ /)
|
|
do
|
|
case "$_JOB" in
|
|
kibana-intake)
|
|
./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
|
|
;;
|
|
kibana-firefoxSmoke*)
|
|
./test/scripts/jenkins_firefox_smoke.sh
|
|
;;
|
|
x-pack-intake)
|
|
./test/scripts/jenkins_xpack.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
|
|
;;
|
|
x-pack-firefoxSmoke*)
|
|
./test/scripts/jenkins_xpack_firefox_smoke.sh
|
|
;;
|
|
*)
|
|
echo "JOB '$_JOB' is not implemented."
|
|
exit 1
|
|
;;
|
|
esac
|
|
done
|