[ACS-1525] Only run scan environment on cron (#6966)

* [ACS-1525] Only run scan environment on cron

* [ACS-1525] Remove environment scan

* [ACS-1525] Add example of use of the command in README

* Add exit 0
This commit is contained in:
Thomas Hunter
2021-05-10 17:04:17 +02:00
committed by GitHub
parent 4c09d5fd35
commit f1f512018c
3 changed files with 9 additions and 3 deletions

View File

@@ -2,5 +2,3 @@
# Upload protractor-smartrunner artifact related to this particular job to S3
./scripts/ci/utils/artifact-to-s3.sh -a "$SMART_RUNNER_DIRECTORY" -o "$S3_SMART_RUNNER_PATH/$TRAVIS_JOB_ID.tar.bz2"
./node_modules/@alfresco/adf-cli/bin/adf-cli scan-env --host "$E2E_HOST" -u "$E2E_ADMIN_EMAIL_IDENTITY" -p "$E2E_ADMIN_PASSWORD_IDENTITY"

View File

@@ -14,4 +14,4 @@ cp -R ./lib/dist/testing/* ./node_modules/@alfresco/adf-testing/
# Download protractor-smartrunner artifact related to this particular job from S3, if exists
./scripts/ci/utils/artifact-from-s3.sh -a "$S3_SMART_RUNNER_PATH/$TRAVIS_JOB_ID.tar.bz2" -o "$SMART_RUNNER_DIRECTORY"
./node_modules/@alfresco/adf-cli/bin/adf-cli scan-env --host "$E2E_HOST" -u "$E2E_ADMIN_EMAIL_IDENTITY" -p "$E2E_ADMIN_PASSWORD_IDENTITY"
exit 0