Skip to content

Commit

Permalink
HSEARCH-4920 TEST DON'T MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Sep 19, 2023
1 parent 82cd9f4 commit 10d0f15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@
<test.elasticsearch.version>${version.org.elasticsearch.latest}</test.elasticsearch.version>

<test.elasticsearch.run.elastic.skip>true</test.elasticsearch.run.elastic.skip>
<test.elasticsearch.run.elastic.image.name>elastic/elasticsearch</test.elasticsearch.run.elastic.image.name>
<test.elasticsearch.run.elastic.image.tag>${test.elasticsearch.version}</test.elasticsearch.run.elastic.image.tag>
<test.elasticsearch.run.elastic.image.name>docker.elastic.co/elasticsearch/elasticsearch</test.elasticsearch.run.elastic.image.name>
<test.elasticsearch.run.elastic.image.tag>master-SNAPSHOT</test.elasticsearch.run.elastic.image.tag>

<test.elasticsearch.run.opensearch.skip>true</test.elasticsearch.run.opensearch.skip>
<test.elasticsearch.run.opensearch.image.name>opensearchproject/opensearch</test.elasticsearch.run.opensearch.image.name>
Expand Down

0 comments on commit 10d0f15

Please sign in to comment.