Thomas Hunter 6f3ce8b6f3
[ACA-4233] Call the scan-env adf-cli command before and after each E2E job (#6519)
* [ACA-4233] Call the scan-env adf-cli command before and after each E2E job

* [ACA-4233] Changed environment variables

* [ACA-4233] Call scan-env command from node_modules

* [ACA-4233] Readd package-lock.json
2021-01-14 16:22:46 +00:00

12 lines
641 B
Bash
Executable File

#!/usr/bin/env bash
./node_modules/@alfresco/adf-cli/bin/adf-cli scan-env --host "$E2E_HOST" -u "$E2E_ADMIN_EMAIL_IDENTITY" -p "$E2E_ADMIN_PASSWORD_IDENTITY"
# Download built application artifact from S3
./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
# Download protractor-smartrunner artifact related to this particular job from S3, if exists
./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/protractor-smartrunner-$TRAVIS_JOB_ID.tar.bz2" -o "$SMART_RUNNER_DIRECTORY"