Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
use jdk 17
Browse files Browse the repository at this point in the history
  • Loading branch information
jackjii79 committed Jan 25, 2024
1 parent 7f2ba3c commit d9a7c5b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import ai.h2o.ci.Utils

JAVA_IMAGE = 'openjdk:17-slim'
JAVA_IMAGE = 'harbor.h2o.ai/dockerhub-proxy/library/openjdk:17-jdk-slim'
NODE_LABEL = 'docker'
DOCKERHUB_CREDS = 'dockerhub'
HARBOR_URL = "http://harbor.h2o.ai/"
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit d9a7c5b

Please sign in to comment.