Alessandro Solimando created HIVE-26619:
-------------------------------------------

             Summary: Sonar analysis not run on the master branch
                 Key: HIVE-26619
                 URL: https://issues.apache.org/jira/browse/HIVE-26619
             Project: Hive
          Issue Type: Test
          Components: Testing Infrastructure
    Affects Versions: 4.0.0-alpha-2
            Reporter: Alessandro Solimando
            Assignee: Alessandro Solimando


The analysis for the master branch was using the wrong variable name 
(_CHANGE_BRANCH_) instead of the branch name (_BRANCH_NAME_).

For an overview of git-related environment variables available in Jenkins, you 
can refer to [https://ci.eclipse.org/webtools/env-vars.html/].

With [~zabetak] we have noticed some spurious files in Sonar analysis for PRs, 
as per this sonar support thread it might be linked to the stale analysis of 
the target branch (master for us): 
[https://community.sonarsource.com/t/unrelated-files-scanned-in-sonarcloud-pr-check/47138/14]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to