We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba5e3bc + 9e5f8dc commit 7ac6f82Copy full SHA for 7ac6f82
buildenv/jenkins/common/build.groovy
@@ -817,7 +817,13 @@ def _build_all() {
817
// TODO: remove this workaround when https://github.com/adoptium/infrastructure/issues/3597 resolved. related: infra 9292
818
def create_docker_image_locally()
819
{
820
- new_image_name=DOCKER_IMAGE.split(':')[0]+'_cuda'
+ new_image_name = DOCKER_IMAGE.split(':')[0] + '_cuda'
821
+ // check and return if image is already exists on node
822
+ CUDA_DOCKER_IMAGE_ID = get_docker_image_id(new_image_name)
823
+ if (CUDA_DOCKER_IMAGE_ID) {
824
+ DOCKER_IMAGE = new_image_name
825
+ return
826
+ }
827
sh '''
828
echo 'ARG image
829
ARG cuda_ver=12.2.0
0 commit comments