From fd7beffcf92e1f435f4fd4aafb98057f067e9de4 Mon Sep 17 00:00:00 2001 From: Nick Dimiduk Date: Wed, 3 Jun 2020 16:33:07 -0700 Subject: [PATCH] Revert "Merge pull request #1847 from ndimiduk/24280-addendum-CHANGE_TARGET-branch-2" This reverts commit f66c80b6a655a6a39cdaba1af50918abcefff303. --- dev-support/jenkins_precommit_github_yetus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/jenkins_precommit_github_yetus.sh b/dev-support/jenkins_precommit_github_yetus.sh index 8f8edaa661e..1c489d6f28b 100755 --- a/dev-support/jenkins_precommit_github_yetus.sh +++ b/dev-support/jenkins_precommit_github_yetus.sh @@ -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