From 7f2ba3ceae113cb3c634cb8f7e4a0acfd002a13b Mon Sep 17 00:00:00 2001 From: jackjii79 Date: Thu, 25 Jan 2024 10:17:57 -0800 Subject: [PATCH] try openjdk in ci --- Jenkinsfile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c6385b4f..5ad4c506 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ import ai.h2o.ci.Utils -JAVA_IMAGE = 'harbor.h2o.ai/dockerhub-proxy/library/openjdk:8u222-jdk-slim' +JAVA_IMAGE = 'openjdk:17-slim' NODE_LABEL = 'docker' DOCKERHUB_CREDS = 'dockerhub' HARBOR_URL = "http://harbor.h2o.ai/" @@ -70,10 +70,10 @@ pipeline { // Run inside JAVA_IMAGE container on NODE_LABEL host. agent { docker { - registryCredentialsId HARBOR_CREDS - registryUrl HARBOR_URL + //registryCredentialsId HARBOR_CREDS + //registryUrl HARBOR_URL image JAVA_IMAGE - label NODE_LABEL + //label NODE_LABEL } } steps { @@ -96,10 +96,10 @@ pipeline { // Run inside JAVA_IMAGE container on NODE_LABEL host. agent { docker { - registryCredentialsId HARBOR_CREDS - registryUrl HARBOR_URL + //registryCredentialsId HARBOR_CREDS + //registryUrl HARBOR_URL image JAVA_IMAGE - label NODE_LABEL + //label NODE_LABEL } } steps { @@ -161,10 +161,10 @@ pipeline { } agent { docker { - registryCredentialsId HARBOR_CREDS - registryUrl HARBOR_URL + //registryCredentialsId HARBOR_CREDS + //registryUrl HARBOR_URL image JAVA_IMAGE - label NODE_LABEL + //label NODE_LABEL } } steps { @@ -203,10 +203,10 @@ pipeline { } agent { docker { - registryCredentialsId HARBOR_CREDS - registryUrl HARBOR_URL + //registryCredentialsId HARBOR_CREDS + //registryUrl HARBOR_URL image JAVA_IMAGE - label NODE_LABEL + //label NODE_LABEL } } steps { @@ -244,10 +244,10 @@ pipeline { } agent { docker { - registryCredentialsId HARBOR_CREDS - registryUrl HARBOR_URL + //registryCredentialsId HARBOR_CREDS + //registryUrl HARBOR_URL image JAVA_IMAGE - label NODE_LABEL + //label NODE_LABEL } } steps {