2018-11-12 22:03:18 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# move to Kibana root
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
|
|
|
|
case "$JOB" in
|
2018-11-20 23:02:06 +01:00
|
|
|
kibana-intake)
|
2018-11-12 22:03:18 +01:00
|
|
|
./test/scripts/jenkins_unit.sh
|
|
|
|
;;
|
2018-11-20 23:02:06 +01:00
|
|
|
kibana-ciGroup*)
|
|
|
|
export CI_GROUP="${JOB##kibana-ciGroup}"
|
|
|
|
./test/scripts/jenkins_ci_group.sh
|
|
|
|
;;
|
|
|
|
x-pack-intake)
|
2018-11-12 22:03:18 +01:00
|
|
|
./test/scripts/jenkins_xpack.sh
|
|
|
|
;;
|
2018-11-20 23:02:06 +01:00
|
|
|
x-pack-ciGroup*)
|
|
|
|
export CI_GROUP="${JOB##x-pack-ciGroup}"
|
|
|
|
./test/scripts/jenkins_xpack_ci_group.sh
|
|
|
|
;;
|
2018-11-12 22:03:18 +01:00
|
|
|
*)
|
|
|
|
echo "JOB '$JOB' is not implemented."
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|