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

This reverts commit f66c80b6a6.
This commit is contained in:
Nick Dimiduk 2020-06-03 16:33:07 -07:00 committed by Nick Dimiduk
parent f66c80b6a6
commit fd7beffcf9
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 [[ "${CHANGE_TARGET}" =~ branch-2* ]]; then
if [[ "${BRANCH_NAME}" =~ branch-2* ]]; then
YETUS_ARGS+=("--hadoop-profile=${HADOOP_PROFILE}")
fi
fi