diff --git a/src/dev/ci_setup/checkout_sibling_es.sh b/src/dev/ci_setup/checkout_sibling_es.sh index a5e687609587c..71a9fc151c74d 100755 --- a/src/dev/ci_setup/checkout_sibling_es.sh +++ b/src/dev/ci_setup/checkout_sibling_es.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + function checkout_sibling { project=$1 targetDir=$2 diff --git a/src/dev/ci_setup/setup.sh b/src/dev/ci_setup/setup.sh index 54365aed42ba8..dd875d084f40a 100755 --- a/src/dev/ci_setup/setup.sh +++ b/src/dev/ci_setup/setup.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash set -e -set -o pipefail dir="$(pwd)" cacheDir="${CACHE_DIR:-"$HOME/.kibana"}" diff --git a/test/scripts/jenkins_ci_group.sh b/test/scripts/jenkins_ci_group.sh index 12047d0b66d18..57250b1b06474 100755 --- a/test/scripts/jenkins_ci_group.sh +++ b/test/scripts/jenkins_ci_group.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + source src/dev/ci_setup/checkout_sibling_es.sh "$(FORCE_COLOR=0 yarn bin)/grunt" functionalTests:ensureAllTestsInCiGroup; diff --git a/test/scripts/jenkins_report_failed_tests.sh b/test/scripts/jenkins_report_failed_tests.sh index 49aaea720a25d..c9e449d3304a1 100755 --- a/test/scripts/jenkins_report_failed_tests.sh +++ b/test/scripts/jenkins_report_failed_tests.sh @@ -1,3 +1,5 @@ #!/usr/bin/env bash +set -e + xvfb-run "$(FORCE_COLOR=0 yarn bin)/grunt" jenkins:report; diff --git a/test/scripts/jenkins_unit.sh b/test/scripts/jenkins_unit.sh index 0a63e2570bfd0..0ab7d64738223 100755 --- a/test/scripts/jenkins_unit.sh +++ b/test/scripts/jenkins_unit.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + source src/dev/ci_setup/checkout_sibling_es.sh export TEST_BROWSER_HEADLESS=1 diff --git a/test/scripts/jenkins_xpack.sh b/test/scripts/jenkins_xpack.sh index 218e7eb4baa31..ea610d4b0cf9a 100755 --- a/test/scripts/jenkins_xpack.sh +++ b/test/scripts/jenkins_xpack.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + source src/dev/ci_setup/checkout_sibling_es.sh export TEST_BROWSER_HEADLESS=1 diff --git a/test/scripts/jenkins_xpack_ci_group.sh b/test/scripts/jenkins_xpack_ci_group.sh index 1a7cc08618ca2..4df6041639116 100755 --- a/test/scripts/jenkins_xpack_ci_group.sh +++ b/test/scripts/jenkins_xpack_ci_group.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + source src/dev/ci_setup/checkout_sibling_es.sh export TEST_BROWSER_HEADLESS=1