Fix: Use NEXUS_TARGET_BUILD in Nexus IQ CLI scanner 21/71021/3 v0.82.3
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 29 Nov 2022 19:55:03 +0000 (11:55 -0800)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 29 Nov 2022 20:16:29 +0000 (12:16 -0800)
commit4082e0a566179aa25ea50e870d077e2b8318995e
treedf005b7c8b9cc51d923e1f1f7fece1aa232077ae
parent3c627ccf046b02f12767aa45d9ac4bf515352f2f
Fix: Use NEXUS_TARGET_BUILD in Nexus IQ CLI scanner

Replace Nexus IQ build Target from "${REQUIREMENTS_FILE}"
to "${NEXUS_TARGET_BUILD}".
The scanner is only including the requirements.txt
file in its scan which should not contain other information
than python package requirements.

Instead, use a "${NEXUS_TARGET_BUILD}" parameter which the
user can optionally provide to the scanner to indicate a
file or directory to include in the scan. By default, this
variable is **/*.

For more information on how to use the "Target" parameter:
https://help.sonatype.com/iqserver/integrations/nexus-iq-cli#NexusIQCLI

Issue: RELENG-4530
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Ifb6947de3d0ff282d461b12332e6d4c2f4ac0198
docs/jjb/lf-python-jobs.rst
jjb/lf-python-jobs.yaml
releasenotes/notes/nexus-python-cli-build-target-f54c9b07b4181ba4.yaml [new file with mode: 0644]
shell/nexus-iq-python-cli.sh