Merge pull request #1847 from ndimiduk/24280-addendum-CHANGE_TARGET-branch-2

HBASE-24280 ADDENDUM branch on CHANGE_TARGET instead of BRANCH_NAME
This commit is contained in:
Nick Dimiduk 2020-06-03 16:20:49 -07:00 committed by GitHub
parent 8c9c670aaa
commit f66c80b6a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ YETUS_ARGS+=("--skip-dirs=dev-support")
if [[ -n "${HADOOP_PROFILE}" ]]; then
# Master has only Hadoop3 support. We don't need to activate any profile.
# The Jenkinsfile should not attempt to run any Hadoop2 tests.
if [[ "${BRANCH_NAME}" =~ branch-2* ]]; then
if [[ "${CHANGE_TARGET}" =~ branch-2* ]]; then
YETUS_ARGS+=("--hadoop-profile=${HADOOP_PROFILE}")
fi
fi