File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ BASE_VERSION="$HADOOP_VERSION"
16
16
17
17
VERSION_SUFFIX=" "
18
18
BUILD_ARGS=" -Dbuild.snapshot=false"
19
+ QUALIFIER_BUILD_ARGS=" "
19
20
if [[ " $DRA_WORKFLOW " == " snapshot" ]]; then
20
21
VERSION_SUFFIX=" -SNAPSHOT"
21
22
BUILD_ARGS=" -Dbuild.snapshot=true"
@@ -27,7 +28,7 @@ if [[ "$BUILDKITE_BRANCH" == "main" ]]; then
27
28
fi
28
29
29
30
if [[ -n " ${VERSION_QUALIFIER:- } " ]]; then
30
- BUILD_ARGS= " $BUILD_ARGS -Dbuild.version_qualifier=$VERSION_QUALIFIER "
31
+ QUALIFIER_BUILD_ARGS= " -Dbuild.version_qualifier=$VERSION_QUALIFIER "
31
32
HADOOP_VERSION=" ${HADOOP_VERSION} -${VERSION_QUALIFIER} "
32
33
fi
33
34
@@ -44,7 +45,7 @@ mkdir localRepo
44
45
wget --quiet " https://artifacts-$DRA_WORKFLOW .elastic.co/elasticsearch/${ES_BUILD_ID} /maven/org/elasticsearch/gradle/build-tools/${HADOOP_VERSION}${VERSION_SUFFIX} /build-tools-${HADOOP_VERSION}${VERSION_SUFFIX} .jar" \
45
46
-O " localRepo/build-tools-${HADOOP_VERSION}${VERSION_SUFFIX} .jar"
46
47
47
- ./gradlew -S -PlocalRepo=true " ${BUILD_ARGS} " -Dorg.gradle.warning.mode=summary -Dcsv=" $WORKSPACE /build/distributions/dependencies-${HADOOP_VERSION}${VERSION_SUFFIX} .csv" :dist:generateDependenciesReport distribution
48
+ ./gradlew -S -PlocalRepo=true " ${BUILD_ARGS} " " ${QUALIFIER_BUILD_ARGS} " -Dorg.gradle.warning.mode=summary -Dcsv=" $WORKSPACE /build/distributions/dependencies-${HADOOP_VERSION}${VERSION_SUFFIX} .csv" :dist:generateDependenciesReport distribution
48
49
49
50
# Allow other users access to read the artifacts so they are readable in the container
50
51
find " $WORKSPACE " -type f -path " */build/distributions/*" -exec chmod a+r {} \;
You can’t perform that action at this time.
0 commit comments