]> source.dussan.org Git - sonarqube.git/commit
BRANCH-55 Fix bug with multiple pr with same branch name (#8)
authorJanos Gyerik <janos.gyerik@sonarsource.com>
Tue, 20 Mar 2018 11:04:52 +0000 (12:04 +0100)
committerSonarTech <sonartech@sonarsource.com>
Thu, 22 Mar 2018 11:37:49 +0000 (12:37 +0100)
commit3f0ffe9d73d75508598e990e102b52300de2ec85
tree265f47e77ad2296cb43771cb4e3c4fe762c25568
parent82a1cb0b4a6ea692624b290b15080fdf7d1b475c
BRANCH-55 Fix bug with multiple pr with same branch name (#8)

* Add PullRequestInfo.analysisDate

* When multiple PR by branch name, pick by the latest analysis date

* Do not obfuscate ProjectPullRequestsLoaderImpl

* Add test for pull request on pull request based on a non-main long branch
sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/ProjectPullRequests.java
sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/PullRequestInfo.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/scan/branch/ProjectPullRequestsTest.java [new file with mode: 0644]