diff --git a/tests/.infra/centos-ci/functional_tests_utils.sh b/tests/.infra/centos-ci/functional_tests_utils.sh index 86bdbb7b64..0603179803 100755 --- a/tests/.infra/centos-ci/functional_tests_utils.sh +++ b/tests/.infra/centos-ci/functional_tests_utils.sh @@ -317,7 +317,13 @@ createTestWorkspaceAndRunTest() { mkdir report REPORT_FOLDER=$(pwd)/report ### Run tests - docker run --shm-size=256m --network host -v $REPORT_FOLDER:/tmp/e2e/report:Z -e TS_SELENIUM_BASE_URL="http://$CHE_ROUTE" -e TS_SELENIUM_MULTIUSER="true" -e TS_SELENIUM_USERNAME="${TEST_USERNAME}" -e TS_SELENIUM_PASSWORD="${TEST_USERNAME}" -e TS_SELENIUM_LOAD_PAGE_TIMEOUT=420000 quay.io/eclipse/che-e2e:nightly + docker run --shm-size=256m --network host -v $REPORT_FOLDER:/tmp/e2e/report:Z \ + -e TS_SELENIUM_BASE_URL="http://$CHE_ROUTE" \ + -e TS_SELENIUM_MULTIUSER="true" \ + -e TS_SELENIUM_USERNAME="${TEST_USERNAME}" \ + -e TS_SELENIUM_PASSWORD="${TEST_USERNAME}" \ + -e TS_SELENIUM_LOAD_PAGE_TIMEOUT=420000 \ + quay.io/eclipse/che-e2e:nightly ||IS_TESTS_FAILED=true } function createTestUserAndObtainUserToken() { diff --git a/tests/.infra/centos-ci/nightly/nightly-happypath-test.sh b/tests/.infra/centos-ci/nightly/nightly-happypath-test.sh index 0984efd40c..11f79ad1c9 100755 --- a/tests/.infra/centos-ci/nightly/nightly-happypath-test.sh +++ b/tests/.infra/centos-ci/nightly/nightly-happypath-test.sh @@ -20,4 +20,6 @@ loginToOpenshiftAndSetDevRole deployCheIntoCluster createTestUserAndObtainUserToken createTestWorkspaceAndRunTest +echo "=========================== THIS IS POST TEST ACTIONS ==============================" archiveArtifacts "che-nightly-happy-path" +if [[ "$IS_TESTS_FAILED" == "true" ]]; then exit 1; fi