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=1614b73b7c42a1e8a1f1166d51c702eea2e92fbb;hp=e40eebaf5f6a57a5c2bb56d595b4bbce1c8ced06;hb=23b8fd16e40ebf79e64a0cbc384d31beb86130da;hpb=132935f514a33e68bd733aecc107cbece7eeb265 diff --git a/jjb/shell/ta-iso-deploy.sh b/jjb/shell/ta-iso-deploy.sh index e40eeba..1614b73 100644 --- a/jjb/shell/ta-iso-deploy.sh +++ b/jjb/shell/ta-iso-deploy.sh @@ -29,9 +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 appropiately + # On non-x86 architecture, rename the artifacts appropriately pushd "$WORKSPACE/work/results/images/" rename "s/\./.${platform_arch}./" *.* sed -i "s/\./.${platform_arch}./" *."${platform_arch}".iso.*