- Remove unused archive-artifacts log patterns
- Many of these are Maven related and unused in Python.
- Adjust NEXUS_IQ_CLI_VERSION parameter name to unspecify
CLI format.
Changes made in response to the comments in
I5e5c420539ab3a3e5b292620da4418c16d557221
Change-Id: I0dde9b18468d52574b969c1f83c93f8ff0950faa
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
archive-artifacts: >
**/*.log
archive-artifacts: >
**/*.log
- **/hs_err_*.log
- **/target/**/feature.xml
- **/target/failsafe-reports/failsafe-summary.xml
- **/target/surefire-reports/*-output.txt
+ nexus-iq-cli-version: 1.44.0-01
#####################
# Job Configuration #
#####################
# Job Configuration #
branch: '{branch}'
stream: '{stream}'
lftools-version: '{lftools-version}'
branch: '{branch}'
stream: '{stream}'
lftools-version: '{lftools-version}'
- - string:
- name: NEXUS_IQ_CLI_JAR
- default: nexus-iq-cli-1.44.0-01.jar
- description: Nexus IQ CLI package to download and use.
- - string:
- name: ARCHIVE_ARTIFACTS
- default: '{archive-artifacts}'
- description: Artifacts to archive to the logs server.
wrappers:
- lf-infra-wrappers:
wrappers:
- lf-infra-wrappers:
# Job Configuration #
#####################
# Job Configuration #
#####################
+ parameters:
+ - string:
+ name: NEXUS_IQ_CLI_VERSION
+ default: '{nexus-iq-cli-version}'
+ description: Nexus IQ CLI package to download and use.
+
triggers:
# Build weekly on Saturdays
- timed: 'H H * * 6'
triggers:
# Build weekly on Saturdays
- timed: 'H H * * 6'
-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 .