Files
alfresco-content-app/scripts/ci/job_hooks/after_e2e.sh
Thomas Hunter e14557ce43 [ACA-4232] Call the scan-env adf-cli command before and after each E2E job (#1911)
* [ACA-4232] Call the scan-env adf-cli command before and after each E2E job

* [ACA-4232] Updated host environment variable
2021-01-14 09:06:43 +00:00

7 lines
352 B
Bash
Executable File

#!/usr/bin/env bash
# Upload protractor-smartrunner artifact related to this particular job to S3
./scripts/ci/utils/artifact-to-s3.sh -a "$SMART_RUNNER_DIRECTORY" -o "$S3_DBP_FOLDER/protractor-smartrunner-$TRAVIS_JOB_ID.tar.bz2"
./node_modules/@alfresco/adf-cli/bin/adf-cli scan-env --host "$API_CONTENT_HOST" -u "$ADMIN_EMAIL" -p "$ADMIN_PASSWORD"