Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 expects ${WORKSPACE} to be the root directory of the source repository, but Jenkins sets an environment variable with the same name to the job start directory, so this does not work as expected on Jenkins.
On the other hand, ${WORKSPACE} is not used by the Jenkins System, so I changed Jenkins settings a bit[*1]. but I still get different errors[*2]...
[*1] https://ci.eclipse.org/glassfish/view/GlassFish/job/glassfish_build-and-publish-to-eclipse-download/jobConfigHistory/showDiffFiles?timestamp1=2022-02-23_20-35-51×tamp2=2022-02-23_20-40-26
# Directory with GlassFish GH repo + WORKSPACE=${WORKSPACE}/glassfish-build cd glassfish-build git status
[*2] https://ci.eclipse.org/glassfish/view/GlassFish/job/glassfish_build-and-publish-to-eclipse-download/652/
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 is probably because jakarta.el-api-5.0.0-RC1.jar has not yet been published on Maven Central.
https://repo.eclipse.org/content/repositories/maven_central/jakarta/el/jakarta.el-api/5.0.0-RC1/
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.
It tried to use even 5.0.0, not 5.0.0-RC1, probably the snapshot changed in between? Edit: nope. But was removed the staging repo dependency.
Could not find artifact jakarta.el:jakarta.el-api:jar:5.0.0
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.
Hmm, seems the Eclipse mirror is broken somehow ... and also the dependency on 5.0.0 instead on 5.0.0-RC1 is probably incorrect ... https://repo1.maven.org/maven2/jakarta/el/jakarta.el-api/5.0.0-RC1/
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.
Hmm, seems the Eclipse mirror is broken somehow ... and also the dependency on 5.0.0 instead on 5.0.0-RC1 is probably incorrect ... https://repo1.maven.org/maven2/jakarta/el/jakarta.el-api/5.0.0-RC1/
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.
... and the staging repo was removed from the hibernate-validator ...
https://jakarta.oss.sonatype.org/content/repositories/staging/jakarta/el/jakarta.el-api/5.0.0/