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
Fix github-maven-merge scm config
[releng/global-jjb.git]
/
shell
/
nexus-iq-cli.sh
diff --git
a/shell/nexus-iq-cli.sh
b/shell/nexus-iq-cli.sh
index
d12e670
..
43021f8
100644
(file)
--- a/
shell/nexus-iq-cli.sh
+++ b/
shell/nexus-iq-cli.sh
@@
-14,8
+14,10
@@
# the repo
set +x
# the repo
set +x
-wget -nv https://download.sonatype.com/clm/scanner/${NEXUS_IQ_CLI_JAR} -O /tmp/${NEXUS_IQ_CLI_JAR}
+CLI_LOCATION="/tmp/nexus-iq-cli-${NEXUS_IQ_CLI_VERSION}.jar"
+wget -nv https://download.sonatype.com/clm/scanner/nexus-iq-cli-${NEXUS_IQ_CLI_VERSION}.jar -O ${CLI_LOCATION}
echo "-a" > cli-auth.txt
echo "${CLM_USER}:${CLM_PASSWORD}" >> cli-auth.txt
echo "-a" > cli-auth.txt
echo "${CLM_USER}:${CLM_PASSWORD}" >> cli-auth.txt
-java -jar
/tmp/${NEXUS_IQ_CLI_JAR
} @cli-auth.txt -xc -i ${CLM_PROJECT_NAME} -s https://nexus-iq.wl.linuxfoundation.org -t build .
+java -jar
${CLI_LOCATION
} @cli-auth.txt -xc -i ${CLM_PROJECT_NAME} -s https://nexus-iq.wl.linuxfoundation.org -t build .
rm cli-auth.txt
rm cli-auth.txt
+rm ${CLI_LOCATION}