-
Notifications
You must be signed in to change notification settings - Fork 53
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
Bump Maven to 3.6.3 as builder for PCT Dockerfile #277
Conversation
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.
Yes please, we should not be running anything other than the current Maven release on any infrastructure.
While you are here please replace
Line 31 in df60aee
private static final String DISABLE_DOWNLOAD_LOGS = "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"; |
-ntp
to follow up from #216.
Updated in 838cc64 |
@jglick any hint about ci/dockercloud-stage check failure? link redirects me to a 404 😕 |
I guess somebody set up Docker automated builds at some point. It is a 404 for me too. Maybe the repo owner can see it. |
plugins-compat-tester/src/main/java/org/jenkins/tools/test/maven/ExternalMavenRunner.java
Outdated
Show resolved
Hide resolved
…en/ExternalMavenRunner.java Co-authored-by: Jesse Glick <jglick@cloudbees.com>
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 think you need to patch
TEST_JDK_HOME=${TEST_JAVA_ARGS:-"/usr/lib/jvm/java-${JDK_VERSION:-8}-openjdk-amd64"} |
$ docker run --rm --entrypoint bash maven:3.6.0-jdk-8 -c 'realpath $(which java)'
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
$ docker run --rm --entrypoint bash maven:3.6.3-jdk-8 -c 'realpath $(which java)'
/usr/local/openjdk-8/bin/java
@@ -157,7 +157,7 @@ mkdir -p "${PCT_OUTPUT_DIR}" | |||
### | |||
# Determine if we test the plugin against another JDK | |||
### | |||
TEST_JDK_HOME=${TEST_JAVA_ARGS:-"/usr/lib/jvm/java-${JDK_VERSION:-8}-openjdk-amd64"} | |||
TEST_JDK_HOME=${TEST_JAVA_ARGS:-"/usr/local/openjdk-${JDK_VERSION:-8}"} |
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.
AFAICT not going to work for JDK 11 as installed in
plugin-compat-tester/Dockerfile
Line 53 in 1f0ced6
mv jdk-11.0.1/ /usr/lib/jvm/java-11-openjdk-amd64 && \ |
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.
Cannot run program "/usr/local/openjdk-11/bin/java": error=2, No such file or directory
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.
Yep, updated in https://github.com/jenkinsci/plugin-compat-tester/pull/277/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557R53 to make it happen :-)
artifact-manager-s3
using Maven 3.6.0