This is an automated email from the ASF dual-hosted git repository.

ndimiduk pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 5c390f0800d58e355d308aa91415056e94198037
Author: Nick Dimiduk <ndimi...@apache.org>
AuthorDate: Wed Jun 3 16:20:49 2020 -0700

    HBASE-24280 ADDENDUM branch on CHANGE_TARGET instead of BRANCH_NAME
    
    Signed-off-by: Josh Elser <els...@apache.org>
---
 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 1c489d6..8f8edaa 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 [[ "${BRANCH_NAME}" =~ branch-2* ]]; then
+  if [[ "${CHANGE_TARGET}" =~ branch-2* ]]; then
     YETUS_ARGS+=("--hadoop-profile=${HADOOP_PROFILE}")
   fi
 fi

Reply via email to