Skip to content

Commit 873b4c7

Browse files
authored
[Build] Build maven aggregation zip as part of DRA build (#129175) (#129270)
* [Build] Build maven aggregation zip as part of DRA build * Update path for aggregation zip
1 parent 4050132 commit 873b4c7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.buildkite/scripts/dra-workflow.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ echo --- Building release artifacts
7171
buildReleaseArtifacts \
7272
exportCompressedDockerImages \
7373
exportDockerContexts \
74+
:zipAggregation \
7475
:distribution:generateDependenciesReport
7576

7677
PATH="$PATH:${JAVA_HOME}/bin" # Required by the following script

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ nmcpAggregation {
6868
}
6969

7070
tasks.named('zipAggregation').configure {
71+
// put this in a place that works well with our DRA infrastructure
72+
archiveFileName.unset();
73+
archiveBaseName.set("elasticsearch-maven-aggregation")
74+
archiveVersion.set(VersionProperties.elasticsearch)
75+
destinationDirectory.set(layout.buildDirectory.dir("distributions"));
76+
7177
dependsOn gradle.includedBuild('build-tools').task(':zipElasticPublication')
7278
from(zipTree(gradle.includedBuild('build-tools').task(':zipElasticPublication').resolveTask().archiveFile.get()))
7379
}

0 commit comments

Comments
 (0)