Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-26619

Sonar analysis is not run for the master branch

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              asolimando Alessandro Solimando
              asolimando Alessandro Solimando
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: