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