X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fshell%2Fta-iso-deploy.sh;fp=jjb%2Fshell%2Fta-iso-deploy.sh;h=c9d55595f2db4e6ee3ce8ee0ad5dc41c5573dfc7;hp=cbe86b9a794b492be9c3866246f58407d58801b4;hb=c109904304d487c973b3bcfab90425661826a401;hpb=605a84f23c42ebe91add58935901d4ac2ec3bfa9 diff --git a/jjb/shell/ta-iso-deploy.sh b/jjb/shell/ta-iso-deploy.sh index cbe86b9..c9d5559 100644 --- a/jjb/shell/ta-iso-deploy.sh +++ b/jjb/shell/ta-iso-deploy.sh @@ -27,6 +27,13 @@ nexus_repo_url="$NEXUS_URL/content/repositories/$NEXUS_REPO" mkdir -p "$upload_dir1" mkdir -p "$upload_dir2" +if [ "$(uname -m)" != 'x86_64' ]; then + # On non-x86 architecture, rename the artifacts appropiately + pushd "$WORKSPACE/work/results/images/" + rename "s/\./.$(uname -m)./" *.* + popd +fi + cp "$WORKSPACE/work/results/images/"* "$upload_dir1" cp "$WORKSPACE/work/results/images/"* "$upload_dir2"