Skip to content

Commit

Permalink
HBASE-28693 Addendum add hadoop 3.0 profile for branch-2.x
Browse files Browse the repository at this point in the history
(cherry picked from commit 98572e5)
  • Loading branch information
Apache9 committed Jun 27, 2024
1 parent b948b06 commit 2f340c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-support/flaky-tests/run-flaky-tests.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ pipeline {
mvn_args=("${mvn_args[@]}" -X)
set -x
fi
# need to build against hadoop 3.0 profile for branch-2 when using jdk 11+
if [[ "${BRANCH_NAME}" == *"branch-2"* ]]; then
mvn_args=("${mvn_args[@]}" -Dhadoop.profile=3.0)
fi
curl "${curl_args[@]}" -o includes.txt "${JENKINS_URL}/job/HBase-Find-Flaky-Tests/job/${BRANCH_NAME}/lastSuccessfulBuild/artifact/output/includes"
if [ -s includes.txt ]; then
rm -rf local-repository/org/apache/hbase
Expand Down

0 comments on commit 2f340c7

Please sign in to comment.