Skip to content

Commit b1f034c

Browse files
committed
CI: Skip XPack tests on "master", and skip Core tests on "xpack" (temporary)
(cherry picked from commit f769b67)
1 parent b79acb8 commit b1f034c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.jenkins/run-tests

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ if [[ $TEST_SUITE != "core" && $TEST_SUITE != "xpack" ]]; then
1212
exit 1
1313
fi
1414

15+
# Do not run XPack tests on "master" branch, and do not run Core tests on "xpack" branch
16+
if [[ ($branch_specifier == "refs/heads/master" && $TEST_SUITE == "xpack") || ($branch_specifier == "refs/heads/xpack" && $TEST_SUITE == "core") ]]; then
17+
echo -e "\033[33;1mSkipping [$TEST_SUITE] tests on the [$branch_specifier] branch.\033[0m"
18+
exit 0
19+
fi
20+
1521
if [[ $TEST_SUITE == "core" ]]; then
1622
elasticsearch_image=elasticsearch-oss:8.0.0-SNAPSHOT
1723
elasticsearch_url=http://es1:9200

0 commit comments

Comments
 (0)