Skip to content

Commit 2ea574a

Browse files
authored
[Build] Build maven aggregation zip as part of DRA build (#129175) (#129357)
* [Build] Build maven aggregation zip as part of DRA build * Update path for aggregation zip (cherry picked from commit 4c21fbf) # Conflicts: # .buildkite/scripts/dra-workflow.sh
1 parent 16f2d81 commit 2ea574a

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
@@ -58,6 +58,7 @@ echo --- Building release artifacts
5858
$BUILD_SNAPSHOT_ARG \
5959
buildReleaseArtifacts \
6060
exportCompressedDockerImages \
61+
:zipAggregation \
6162
:distribution:generateDependenciesReport
6263

6364
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
@@ -69,6 +69,12 @@ nmcpAggregation {
6969
}
7070

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

0 commit comments

Comments
 (0)