X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fshell%2Fta-iso-deploy.sh;h=d3b1cec4b4468334032de0ece9d1e091087b4271;hp=1614b73b7c42a1e8a1f1166d51c702eea2e92fbb;hb=HEAD;hpb=a457654d1fa3a0792bb86fffdf06746aa99d4374 diff --git a/jjb/shell/ta-iso-deploy.sh b/jjb/shell/ta-iso-deploy.sh index 1614b73..d3b1cec 100644 --- a/jjb/shell/ta-iso-deploy.sh +++ b/jjb/shell/ta-iso-deploy.sh @@ -29,10 +29,10 @@ nexus_repo_url="$NEXUS_URL/content/repositories/$NEXUS_REPO" mkdir -p "$upload_dir1" mkdir -p "$upload_dir2" -sudo apt install -y rename # "rename" disappeared in Ubuntu 18.04 platform_arch=$(uname -m) if [ "${platform_arch}" != 'x86_64' ]; then # On non-x86 architecture, rename the artifacts appropriately + sudo apt install -y rename # "rename" disappeared in Ubuntu 18.04 pushd "$WORKSPACE/work/results/images/" rename "s/\./.${platform_arch}./" *.* sed -i "s/\./.${platform_arch}./" *."${platform_arch}".iso.*