Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Ignore false-neg ShellCheck SC2154 unused vars
[releng/global-jjb.git]
/
shell
/
maven-stage.sh
diff --git
a/shell/maven-stage.sh
b/shell/maven-stage.sh
index
ea8652d
..
60949ac
100644
(file)
--- a/
shell/maven-stage.sh
+++ b/
shell/maven-stage.sh
@@
-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"
# 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"
# Cleanup
rm -f "$TMP_FILE"