aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2017-01-23 11:22:39 +0100
committerDuarte Meneses <duarte.meneses@sonarsource.com>2017-01-27 16:26:30 +0100
commite606937326a6f2c9d83d7d2509d73bb237a94356 (patch)
treefa5c8ca45b490b3d786c914af90881d636c18db2 /sonar-scanner-protocol
parenteea589c564a924993e8edba9d8fa9691e756bce4 (diff)
downloadsonarqube-e606937326a6f2c9d83d7d2509d73bb237a94356.tar.gz
sonarqube-e606937326a6f2c9d83d7d2509d73bb237a94356.zip
SONAR-8631 Only publish input files used by sensors
Diffstat (limited to 'sonar-scanner-protocol')
-rw-r--r--sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/FileStructure.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/FileStructure.java b/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/FileStructure.java
index 5d408aef691..34fbc34a9b0 100644
--- a/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/FileStructure.java
+++ b/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/output/FileStructure.java
@@ -78,4 +78,8 @@ public class FileStructure {
public File contextProperties() {
return new File(dir, "context-props.pb");
}
+
+ public File root() {
+ return dir;
+ }
}