Improve env check (#6361)

* improve env check

* fix

* wrong fit

* log
This commit is contained in:
Eugenio Romano
2020-11-20 15:19:28 +00:00
committed by GitHub
parent 6e07c3ecec
commit 49368c746f
9 changed files with 41 additions and 20 deletions

View File

@@ -19,8 +19,6 @@ if [ "${TRAVIS_EVENT_TYPE}" == "pull_request" ]; then
echo "Affected e2e ${AFFECTED_E2E}"
fi;
./node_modules/@alfresco/adf-cli/bin/adf-cli check-cs-env --host "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" || exit 1
#-b is needed to run the Folder upload test that are not workin in Headless chrome
RUN_E2E=$(echo ./scripts/test-e2e-lib.sh -host http://localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" --use-dist || exit 1)
if [[ $AFFECTED_LIBS =~ "testing" || $AFFECTED_LIBS =~ "$CONTEXT_ENV" || "${TRAVIS_EVENT_TYPE}" == "push" || "${TRAVIS_EVENT_TYPE}" == "api" ]]; then