Files
alfresco-ng2-components/scripts/ci/job_hooks/before_e2e.sh
Thomas Hunter f1f512018c [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
2021-05-10 17:04:17 +02:00

18 lines
759 B
Bash
Executable File

#!/usr/bin/env bash
# TODO: This one needs to be cleaned up... Only fixing it like this, because for the current PR it is out of scope
# =======================================
rm -rf ./node_modules/@alfresco/adf-cli/ && \
mkdir -p ./node_modules/@alfresco/adf-cli/ && \
cp -R ./lib/dist/cli/* ./node_modules/@alfresco/adf-cli/
rm -rf ./node_modules/@alfresco/adf-testing/ && \
mkdir -p ./node_modules/@alfresco/adf-testing/ && \
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"
exit 0