X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fshell%2Fta-iso-deploy.sh;h=1614b73b7c42a1e8a1f1166d51c702eea2e92fbb;hb=23b8fd16e40ebf79e64a0cbc384d31beb86130da;hp=9525e8ab79dc57b21e0a47fc071125fa52206b1d;hpb=f3676935f6c18da1a1748251781d8cb30ac2acfa;p=ci-management.git diff --git a/jjb/shell/ta-iso-deploy.sh b/jjb/shell/ta-iso-deploy.sh index 9525e8a..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.* @@ -41,9 +42,6 @@ fi cp "$WORKSPACE/work/results/images/"* "$upload_dir1" cp "$WORKSPACE/work/results/images/"* "$upload_dir2" -echo "-----> Sign all artifacts" -lftools sign sigul "$repo_dir" - echo "-----> Upload ISOs to Nexus" lftools deploy nexus "$nexus_repo_url" "$repo_dir" rm -rf "$repo_dir"