X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-stage.sh;h=fa890475186aebf2ce6534cf95c182a74215aa87;hb=2a10c83b2d506008cc6c01c134515fb6328e1f3a;hp=ea8652dcc3640f6a7c42cf32954fd854aa811e02;hpb=11bccd3d96d180f93ae96cd330e23565ba351aa5;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-stage.sh b/shell/maven-stage.sh index ea8652dc..fa890475 100644 --- a/shell/maven-stage.sh +++ b/shell/maven-stage.sh @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> maven-stage.sh" # This script publishes artifacts to a staging repo in Nexus. # # $WORKSPACE/m2repo : Exists and used to deploy the staging repository. @@ -24,7 +24,7 @@ staging_repo=$(sed -n -e 's/Staging repository \(.*\) created\./\1/p' "$TMP_FILE # Store repo info to a file in archives mkdir -p "$WORKSPACE/archives" -echo "$staging_repo" > "$WORKSPACE/archives/staging-repo.txt" +echo "$staging_repo ${NEXUS_URL}/content/repositories/$staging_repo" | tee -a "$WORKSPACE/archives/staging-repo.txt" # Cleanup rm -f "$TMP_FILE"