-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] define matrix axes in code (#25360)
* [ci] define matrix axes in code * [ci] add null exclude rule * [ci] make script executable * [ci] execute sub-scripts * [ci] simplify job variable name (cherry picked from commit 399c50c)
- Loading branch information
Spencer
committed
Nov 12, 2018
1 parent
ad1bb6c
commit 55b00ff
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
JOB: | ||
- selenium | ||
- intake | ||
- x-pack | ||
|
||
# `~` is yaml for `null` | ||
exclude: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# move to Kibana root | ||
cd "$(dirname "$0")/.." | ||
|
||
case "$JOB" in | ||
"selenium") | ||
./test/scripts/jenkins_selenium.sh | ||
;; | ||
"intake") | ||
./test/scripts/jenkins_unit.sh | ||
;; | ||
"x-pack") | ||
./test/scripts/jenkins_xpack.sh | ||
;; | ||
*) | ||
echo "JOB '$JOB' is not implemented." | ||
exit 1 | ||
;; | ||
esac |