HBASE-24280 ADDENDUM branch on CHANGE_TARGET instead of BRANCH_NAME

Signed-off-by: Josh Elser <elserj@apache.org>
This commit is contained in:
Nick Dimiduk 2020-06-03 16:20:49 -07:00 committed by Nick Dimiduk
parent fd7beffcf9
commit 5c390f0800
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