mirror of
https://github.com/elastic/kibana.git
synced 2025-04-20 16:03:20 -04:00
Backports the following commits to 6.7: - Refactor ES-related environment variables (#33036)
30 lines
551 B
Bash
Executable file
30 lines
551 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# move to Kibana root
|
|
cd "$(dirname "$0")/.."
|
|
|
|
source src/dev/ci_setup/setup.sh
|
|
source src/dev/ci_setup/checkout_sibling_es.sh
|
|
|
|
case "$JOB" in
|
|
kibana-intake)
|
|
./test/scripts/jenkins_unit.sh
|
|
;;
|
|
kibana-ciGroup*)
|
|
export CI_GROUP="${JOB##kibana-ciGroup}"
|
|
./test/scripts/jenkins_ci_group.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
|
|
;;
|
|
*)
|
|
echo "JOB '$JOB' is not implemented."
|
|
exit 1
|
|
;;
|
|
esac
|