X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fcmake-stage.sh;h=ad3fbee124a495217d61bbd2cfd4cb1be9f0b0f3;hb=a04ae0075f9a08eab2159a252f26b04d1c718661;hp=b91d6e1e788b61fad21c1274a694390d636ea7fd;hpb=9fb1e597159ab0b87e951e983edb6d08ccd61275;p=releng%2Fglobal-jjb.git diff --git a/shell/cmake-stage.sh b/shell/cmake-stage.sh index b91d6e1e..ad3fbee1 100644 --- a/shell/cmake-stage.sh +++ b/shell/cmake-stage.sh @@ -39,7 +39,8 @@ if [ -z "${version}" ]; then fi fi -repo_id=$(lftools deploy nexus-stage-repo-create "$NEXUS_URL" "$staging_profile_id") +repo_id=$(lftools deploy nexus-stage-repo-create "$NEXUS_URL" \ + "$staging_profile_id") mapfile -t artifacts < <(ls "$WORKSPACE"/dist) for artifact in "${artifacts[@]}"; do @@ -61,9 +62,11 @@ for artifact in "${artifacts[@]}"; do src.tar.xz done -lftools deploy nexus-stage-repo-close "$NEXUS_URL" "$staging_profile_id" "$repo_id" +lftools deploy nexus-stage-repo-close "$NEXUS_URL" "$staging_profile_id" \ + "$repo_id" PATCH_DIR="$WORKSPACE/archives/patches" mkdir -p "$PATCH_DIR" -echo "$PROJECT" "$(git rev-parse --verify HEAD)" | tee -a "$PATCH_DIR/taglist.log" +echo "$PROJECT" "$(git rev-parse --verify HEAD)" | \ + tee -a "$PATCH_DIR/taglist.log" echo "$repo_id" > "$WORKSPACE/archives/staging-repo.txt"