|
|
@@ -4,12 +4,11 @@ set -exuo pipefail
|
|
|
|
|
|
ARTIFACT_DIR=${ARTIFACT_DIR:=/tmp/artifacts}
|
|
|
SCREENSHOTS_DIR=integration-tests/screenshots
|
|
|
-INSTALLER_DIR=${INSTALLER_DIR:=${ARTIFACT_DIR}/installer}
|
|
|
|
|
|
function copyArtifacts {
|
|
|
if [ -d "$ARTIFACT_DIR" ] && [ -d "$SCREENSHOTS_DIR" ]; then
|
|
|
echo "Copying artifacts from $(pwd)..."
|
|
|
- cp -r "$SCREENSHOTS_DIR" "${ARTIFACT_DIR}/integration-tests/screenshots"
|
|
|
+ cp -r "$SCREENSHOTS_DIR" "${ARTIFACT_DIR}"
|
|
|
fi
|
|
|
}
|
|
|
|