Ver Fonte

Merge pull request #19 from cyril-ui-developer/copy-artifects-target

CONSOLE-3303: Move plugin template to the openshift GitHub org - Fix cannot access '/logs/artifacts/integration-tests/screenshots' issue
Sam Padgett há 3 anos atrás
pai
commit
28c8f1fb20
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      test-prow-e2e.sh

+ 1 - 2
test-prow-e2e.sh

@@ -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
 }