[AAE-3278] Temporary fix for some flakyness: C297638 and C297638 (#1602)

This commit is contained in:
Popovics András
2020-08-13 23:20:05 +02:00
committed by GitHub
parent 9bdaa59657
commit 3edf48f050
7 changed files with 104 additions and 47 deletions

View File

@@ -4,13 +4,12 @@ FROM=$1;
TO=$2;
PARAMS=$3;
echo "Download artefact from S3 $FROM"
# Download built application artifact from S3
./scripts/ci/utils/artifact-from-s3.sh -a "$FROM" -o "$TO"
echo "Download artefact done"
echo "Replace app.config with options $PARAMS"
node "./scripts/app-config-replace.js" --config="$TO/app.config.json" $PARAMS
echo "Replace app.config done"
# 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"
echo "====== Update webdriver-manager ====="
if [ "$CI" = "true" ]; then