Skip to content

Commit

Permalink
[ci] execute sub-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Nov 12, 2018
1 parent cedf63f commit 818e85b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@

set -e

# move to Kibana root
cd "$(dirname "$0")/.."

case "$KBN_CI_JOB" in
"selenium")
source "$(dirname "$0")/../test/scripts/jenkins_selenium.sh"
./test/scripts/jenkins_selenium.sh
;;
"intake")
source "$(dirname "$0")/../test/scripts/jenkins_unit.sh"
./test/scripts/jenkins_unit.sh
;;
"x-pack")
source "$(dirname "$0")/../test/scripts/jenkins_xpack.sh"
./test/scripts/jenkins_xpack.sh
;;
*)
echo "'$KBN_CI_JOB' is not implemented."
echo "CI_JOB '$KBN_CI_JOB' is not implemented."
exit 1
;;
esac

0 comments on commit 818e85b

Please sign in to comment.