-
Notifications
You must be signed in to change notification settings - Fork 593
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
Conversation
11.0.2 in from Jan2019 := 5 years old use the recent version => 11.0.24
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes a lot of sense. I would prefer if we could even bump to 21.0.4 or at least 17.0.12...
sure, if the repo-owners agree the stable links |
@akram8008 @dimaste consider adding yourself into https://github.com/SAP/jenkins-library/blob/master/.github/CODEOWNERS for the sources that are in your responsibility to get notification about open PRs. |
meanwhile 11.0.25 is the latest version
meanwhile/since last week 11.0.25 is the latest version, wherefore i updated the PR. |
Looks even better now :) |
@@ -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/" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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"
/go-it |
There was a problem hiding this comment.
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.
Hi @o-liver , go run main.go whitesourceExecuteScan |
I was hoping you had a whitesource project ready that you can test this with. Me neither. I will think of something... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to dismiss my review, does not seem to work easily anymore.
to speed this up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good and tested
/it-go |
Quality Gate passedIssues Measures |
…ix-fix * origin/master: (43 commits) fix handle new naming strategy for Central Build stage name if extension is used (SAP#5178) Remove commit message from project-metadata.toml (SAP#5176) handle new naming strategy for Central Build stage name (SAP#5171) Update URL to current SapMachine (SAP#5126) checkmarxOneExecuteScan - Fix report generation in CxOne 3.20 (SAP#5170) docs: update pr template to include inner source update reminder (SAP#5169) handle error while fetching working directory (SAP#5168) Final round of adding quoting to prevent command injection (SAP#5167) feat: add build artifacts metadata for mtaBuild (SAP#5166) Fix more potential command injection via quoting (SAP#5164) Add identifier data to create uuid in events (SAP#5165) Update version of org.cyclonedx:cyclonedx-maven-plugin (SAP#5156) Fix: validate app name (SAP#5155) fix: command injection vulnerability (SAP#5161) fix deadlock and add more logging (SAP#5160) fix(sonar): allign groovy part of Sonar step with common piperExecuteBin (SAP#5157) modify logging (SAP#5158) Detect script version 9 (SAP#5154) feat(vault): not allowing batch token revoke (SAP#4918) refactor(vault): Refactor vault package (SAP#5148) ...
* origin/master: (43 commits) fix handle new naming strategy for Central Build stage name if extension is used (SAP#5178) Remove commit message from project-metadata.toml (SAP#5176) handle new naming strategy for Central Build stage name (SAP#5171) Update URL to current SapMachine (SAP#5126) checkmarxOneExecuteScan - Fix report generation in CxOne 3.20 (SAP#5170) docs: update pr template to include inner source update reminder (SAP#5169) handle error while fetching working directory (SAP#5168) Final round of adding quoting to prevent command injection (SAP#5167) feat: add build artifacts metadata for mtaBuild (SAP#5166) Fix more potential command injection via quoting (SAP#5164) Add identifier data to create uuid in events (SAP#5165) Update version of org.cyclonedx:cyclonedx-maven-plugin (SAP#5156) Fix: validate app name (SAP#5155) fix: command injection vulnerability (SAP#5161) fix deadlock and add more logging (SAP#5160) fix(sonar): allign groovy part of Sonar step with common piperExecuteBin (SAP#5157) modify logging (SAP#5158) Detect script version 9 (SAP#5154) feat(vault): not allowing batch token revoke (SAP#4918) refactor(vault): Refactor vault package (SAP#5148) ...
…fig-fix * origin/master: (43 commits) fix handle new naming strategy for Central Build stage name if extension is used (SAP#5178) Remove commit message from project-metadata.toml (SAP#5176) handle new naming strategy for Central Build stage name (SAP#5171) Update URL to current SapMachine (SAP#5126) checkmarxOneExecuteScan - Fix report generation in CxOne 3.20 (SAP#5170) docs: update pr template to include inner source update reminder (SAP#5169) handle error while fetching working directory (SAP#5168) Final round of adding quoting to prevent command injection (SAP#5167) feat: add build artifacts metadata for mtaBuild (SAP#5166) Fix more potential command injection via quoting (SAP#5164) Add identifier data to create uuid in events (SAP#5165) Update version of org.cyclonedx:cyclonedx-maven-plugin (SAP#5156) Fix: validate app name (SAP#5155) fix: command injection vulnerability (SAP#5161) fix deadlock and add more logging (SAP#5160) fix(sonar): allign groovy part of Sonar step with common piperExecuteBin (SAP#5157) modify logging (SAP#5158) Detect script version 9 (SAP#5154) feat(vault): not allowing batch token revoke (SAP#4918) refactor(vault): Refactor vault package (SAP#5148) ...
Hi colleagues,
fixes: #5125
11.0.2 in from Jan2019 := 5 years old
use the current version => 11.0.24 (update 25Oct2024: meanwhile the current version is 11.0.25)Regards Christian@SapMachine
PS:
after some back and forth we have settled on java version 17.0.13