Skip to content

Commit 1f2edf3

Browse files
[chore](ci) update mvn to 3.9 (#60827)
1 parent 554073e commit 1f2edf3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

regression-test/pipeline/performance/compile.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,11 @@ merge_pr_to_target_branch_latest() {
7575
fi
7676
}
7777

78+
install_maven_cmd=""
7879
if [[ "${target_branch}" == "master" || "${target_branch}" == "branch-4.0" ]]; then
7980
REMOTE_CCACHE='/mnt/remote_ccache_master'
8081
docker_image="apache/doris:build-env-ldb-toolchain-latest"
82+
install_maven_cmd="cd /usr/local/ && wget -t3 -c -q https://dlcdn.apache.org/maven/maven-3/3.9.12/binaries/apache-maven-3.9.12-bin.tar.gz && tar -zxf apache-maven-3.9.12-bin.tar.gz && export PATH=/usr/local/apache-maven-3.9.12/bin:\$PATH && mvn --version && cd - &&"
8183
elif [[ "${target_branch}" == "branch-3.1" ]]; then
8284
REMOTE_CCACHE='/mnt/remote_ccache_master'
8385
docker_image="apache/doris:build-env-for-3.1-0.19"
@@ -146,7 +148,7 @@ sudo docker run -i --rm \
146148
&& export USE_JEMALLOC='ON' \
147149
&& export ENABLE_PCH=OFF \
148150
&& export CUSTOM_NPM_REGISTRY=https://registry.npmjs.org \
149-
&& ${USE_CUSTOM_LDB} \
151+
&& ${install_maven_cmd} ${USE_CUSTOM_LDB} \
150152
&& bash build.sh --fe --be --clean 2>&1 | tee build.log"
151153
set +x
152154
set -x

0 commit comments

Comments
 (0)