X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fcmake-stage.sh;h=ad3fbee124a495217d61bbd2cfd4cb1be9f0b0f3;hb=4867c0799530acf13f7527c6a026879bdfb34e06;hp=5b67edc3ee7fb372b18c7b44e3613a3e7bd7090a;hpb=299527b2eff4f8c47b98c9c52a46d59121fab94a;p=releng%2Fglobal-jjb.git diff --git a/shell/cmake-stage.sh b/shell/cmake-stage.sh index 5b67edc3..ad3fbee1 100644 --- a/shell/cmake-stage.sh +++ b/shell/cmake-stage.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2018 The Linux Foundation and others. @@ -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"