diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2019-04-01 17:58:07 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-04-23 20:21:07 +0200 |
commit | bec219de08fb555f4472865f7041746de612f5f5 (patch) | |
tree | c4efa514642570d95cb59b119db8cb6fef29036c /sonar-scanner-engine/src | |
parent | 81638702d68033ca95ddd406aa655fb2bfdab036 (diff) | |
download | sonarqube-bec219de08fb555f4472865f7041746de612f5f5.tar.gz sonarqube-bec219de08fb555f4472865f7041746de612f5f5.zip |
SONAR-11859, SONAR-11879 Track issues with the target branch
Diffstat (limited to 'sonar-scanner-engine/src')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java index 548a477c7d0..d31dfe56c1b 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java @@ -304,7 +304,8 @@ public class ProjectScanContainer extends ComponentContainer { BranchConfiguration branchConfig = getComponentByType(BranchConfiguration.class); if (branchConfig.branchType() == BranchType.PULL_REQUEST) { - LOG.info("Pull request {} for merge into {} from {}", branchConfig.pullRequestKey(), pullRequestBaseToDisplayName(branchConfig.targetBranchName()), branchConfig.branchName()); + LOG.info("Pull request {} for merge into {} from {}", branchConfig.pullRequestKey(), pullRequestBaseToDisplayName(branchConfig.targetBranchName()), + branchConfig.branchName()); } else if (branchConfig.branchName() != null) { LOG.info("Branch name: {}, type: {}", branchConfig.branchName(), branchTypeToDisplayName(branchConfig.branchType())); } |