diff --git a/Jenkinsfile b/Jenkinsfile index 1ad394c7..68f2f8e6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,6 +5,7 @@ import ai.h2o.ci.Utils JAVA_IMAGE = 'eclipse-temurin@sha256:24643c2dd329ef482ecd042b59cbfb7fe13716342e22674a0abd763559c8a1dd' +JAVA_8_IMAGE = 'harbor.h2o.ai/dockerhub-proxy/library/openjdk:8u222-jdk-slim' NODE_LABEL = 'docker' DOCKERHUB_CREDS = 'dockerhub' HARBOR_URL = "http://harbor.h2o.ai/" @@ -91,9 +92,9 @@ pipeline { // Run inside JAVA_IMAGE container on NODE_LABEL host. agent { docker { - //registryCredentialsId HARBOR_CREDS - //registryUrl HARBOR_URL - image JAVA_IMAGE + registryCredentialsId HARBOR_CREDS + registryUrl HARBOR_URL + image JAVA_8_IMAGE label NODE_LABEL } }