From: Eric Ball Date: Mon, 25 Nov 2019 22:41:51 +0000 (+0000) Subject: Merge "ta: iso deploy: Fix artifact name in checksum file" X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=eb65aa135c2d8c849625b264b2461ee216baa465;hp=250ed505805dfc98acdfcffc9af66e9c06a44d7f Merge "ta: iso deploy: Fix artifact name in checksum file" --- diff --git a/jjb/shell/ta-iso-deploy.sh b/jjb/shell/ta-iso-deploy.sh index c9d5559..1ec4731 100644 --- a/jjb/shell/ta-iso-deploy.sh +++ b/jjb/shell/ta-iso-deploy.sh @@ -27,10 +27,12 @@ nexus_repo_url="$NEXUS_URL/content/repositories/$NEXUS_REPO" mkdir -p "$upload_dir1" mkdir -p "$upload_dir2" -if [ "$(uname -m)" != 'x86_64' ]; then +platform_arch=$(uname -m) +if [ "${platform_arch}" != 'x86_64' ]; then # On non-x86 architecture, rename the artifacts appropiately pushd "$WORKSPACE/work/results/images/" - rename "s/\./.$(uname -m)./" *.* + rename "s/\./.${platform_arch}./" *.* + sed -i "s/\./.${platform_arch}./" *."${platform_arch}".iso.* popd fi