diff --git a/ci/container/download_artifact.sh b/ci/container/download_artifact.sh index 18776bb7f..8abdbe2ee 100644 --- a/ci/container/download_artifact.sh +++ b/ci/container/download_artifact.sh @@ -10,9 +10,9 @@ THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [[ -z "$GITHUB_ACTIONS" ]]; then BRANCH=$(basename $GIT_BRANCH) - # LATEST_COMMIT=$(aws s3 cp --only-show-errors s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/latest_commit -) - echo "aws s3 cp --only-show-errors s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/ $WORKSPACE --recursive" - aws s3 cp --only-show-errors s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/ $WORKSPACE --recursive + # LATEST_COMMIT=$(aws s3 cp --only-show-errors s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/latest_commit -) + echo "aws s3 cp --only-show-errors s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/ $WORKSPACE --recursive" + aws s3 cp --only-show-errors s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/ $WORKSPACE --recursive elif [[ -e "$WORKSPACE/artifacts/" ]]; then # Linux Container echo "[INFO] cp $WORKSPACE/artifacts/* $WORKSPACE" diff --git a/ci/container/upload_artifact.sh b/ci/container/upload_artifact.sh index 95d2bbaa9..c2fdb83f1 100644 --- a/ci/container/upload_artifact.sh +++ b/ci/container/upload_artifact.sh @@ -12,13 +12,13 @@ if [[ -z "$GITHUB_ACTIONS" ]]; then BRANCH=$(basename $GIT_BRANCH) for f in "${ARTIFACTS[@]}"; do echo $f - echo "[INFO] aws s3 cp --only-show-errors $f s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/" - aws s3 cp --only-show-errors $f s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/ + echo "[INFO] aws s3 cp --only-show-errors $f s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/" + aws s3 cp --only-show-errors $f s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/ COMMIT_FILE=$(mktemp) cat > $COMMIT_FILE <