Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update URL to current SapMachine #5126

Merged
merged 13 commits into from
Nov 8, 2024
4 changes: 2 additions & 2 deletions cmd/whitesourceExecuteScan_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/metadata/whitesourceExecuteScan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ spec:
- PARAMETERS
- STAGES
- STEPS
default: "https://github.com/SAP/SapMachine/releases/download/sapmachine-11.0.2/sapmachine-jre-11.0.2_linux-x64_bin.tar.gz"
default: "https://sap.github.io/SapMachine/latest/21/linux-x64/jre/"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not look like a tar.gz file. Presumably the code will try and unpack whatever it fetches here. Did you test it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please test this once (locally with go run ...) to make sure the redirect happens and the JRE 21 is fine to execute this mend scan.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the given link is a HTTP '302 Temp Redirect' to the latest available release of SapMachine 21 linux-x64 JRE.
requested comment added to
https://github.com/skateball/jenkins-library/blob/master/resources/metadata/whitesourceExecuteScan.yaml#L250
description:
"URL used for downloading the Java Runtime Environment (JRE) required to run the WhiteSource Unified Agent. The URL is a HTTP 302 Temp Redirect to the always latest available SapMachine 21, linux-x64, JRE"

o-liver marked this conversation as resolved.
Show resolved Hide resolved
- name: licensingVulnerabilities
type: bool
description: "[NOT IMPLEMENTED] Whether license compliance is considered and reported as part of the assessment."
Expand Down
Loading