File tree Expand file tree Collapse file tree
regression-test/pipeline/performance Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,9 +75,11 @@ merge_pr_to_target_branch_latest() {
7575 fi
7676}
7777
78+ install_maven_cmd=" "
7879if [[ " ${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 - &&"
8183elif [[ " ${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"
151153set +x
152154set -x
You can’t perform that action at this time.
0 commit comments