Uploaded image for project: 'GitHub Pull Request Analysis'
  1. GitHub Pull Request Analysis
  2. SONARGITUB-21

Consider project basedir as git basedir when no .git folder is found

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Labels:
      None

      Description

      In PullRequestFacade.init the first check is to make sure that the current project base directory contains a .git directory, i.e. it's a valid git repository. This can cause problems in some CI-environments where a host machine can cache checkouts, and provide build-agents just with the sources.

      Original report: https://github.com/SonarSource/sonar-github/pull/16

        Attachments

          Activity

            People

            • Assignee:
              julien.henry Julien Henry
              Reporter:
              julien.henry Julien Henry
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: