From 76197b1fb97fab78ecc2d71f767aa8e10b2d4763 Mon Sep 17 00:00:00 2001 From: Ihor Okhrimenko Date: Wed, 20 May 2020 15:39:48 +0300 Subject: [PATCH] Next try #12 Signed-off-by: Ihor Okhrimenko --- .ci/cico-devfile-pr-test.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.ci/cico-devfile-pr-test.sh b/.ci/cico-devfile-pr-test.sh index 5d5df87b0..fc4dc6101 100755 --- a/.ci/cico-devfile-pr-test.sh +++ b/.ci/cico-devfile-pr-test.sh @@ -131,7 +131,7 @@ function createTestWorkspaceAndRunTest() { -e TS_SELENIUM_DEFAULT_TIMEOUT=300000 \ -e TS_SELENIUM_WORKSPACE_STATUS_POLLING=20000 \ -e TS_SELENIUM_LOAD_PAGE_TIMEOUT=420000 \ - -e TEST_SUITE="test-all-devfiles" \ + -e TEST_SUITE="test-java-vertx" \ -e NODE_TLS_REJECT_UNAUTHORIZED=0 \ quay.io/eclipse/che-e2e:nightly || IS_TESTS_FAILED=true } @@ -172,6 +172,7 @@ function installJQ() { set -x +export IS_TESTS_FAILED=false export FAIL_MESSAGE="Build failed." SCRIPT_DIR=$(cd "$(dirname "$0")"; pwd) @@ -237,3 +238,7 @@ createTestWorkspaceAndRunTest getOpenshiftLogs archiveArtifacts "che-devfile-registry-prcheck" + +if [ "$IS_TESTS_FAILED" == "true" ]; then + exit 1; +fi