From 10d0f15200e0793bda8de26ef0e36a98246c7447 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Tue, 19 Sep 2023 14:52:21 +0200 Subject: [PATCH] HSEARCH-4920 TEST DON'T MERGE --- Jenkinsfile | 4 ++++ pom.xml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 87893bf7a9e..abb2132f353 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -914,6 +914,10 @@ def pullContainerImages(String mavenArgs) { // Cannot use a foreach loop because then Jenkins wants to serialize the iterator, // and obviously the iterator is not serializable. for (int i = 0; i < containerImageRefs.length; i++) { + if (containerImageRef.startsWith('docker.elastic.co')) { + // an image not from a docker hub, so let's ignore it: + continue + } containerImageRef = containerImageRefs[i] docker.image( containerImageRef ).pull() } diff --git a/pom.xml b/pom.xml index 3b3c8490497..d202e5fbc47 100644 --- a/pom.xml +++ b/pom.xml @@ -376,8 +376,8 @@ ${version.org.elasticsearch.latest} true - elastic/elasticsearch - ${test.elasticsearch.version} + docker.elastic.co/elasticsearch/elasticsearch + master-SNAPSHOT true opensearchproject/opensearch