public class SonarQubePointGenerator extends AbstractPointGenerator
BUILD_NUMBER, CUSTOM_PREFIX, PROJECT_NAME, PROJECT_PATH, replaceDashWithUnderscore, timestamp
Constructor and Description |
---|
SonarQubePointGenerator(MeasurementRenderer<hudson.model.Run<?,?>> measurementRenderer,
String customPrefix,
hudson.model.Run<?,?> build,
long timestamp,
hudson.model.TaskListener listener,
boolean replaceDashWithUnderscore) |
Modifier and Type | Method and Description |
---|---|
org.influxdb.dto.Point[] |
generate() |
int |
getLinesOfCode(String url) |
String |
getResult(String request) |
int |
getSonarIssues(String url,
String severity) |
protected String |
getSonarProjectName(String url) |
boolean |
hasReport() |
void |
setSonarDetails(String sonarBuildLink) |
buildPoint, buildPoint, measurementName
public SonarQubePointGenerator(MeasurementRenderer<hudson.model.Run<?,?>> measurementRenderer, String customPrefix, hudson.model.Run<?,?> build, long timestamp, hudson.model.TaskListener listener, boolean replaceDashWithUnderscore)
public boolean hasReport()
public void setSonarDetails(String sonarBuildLink)
public org.influxdb.dto.Point[] generate()
public String getResult(String request) throws IOException
IOException
protected String getSonarProjectName(String url) throws URISyntaxException
URISyntaxException
public int getLinesOfCode(String url) throws IOException
IOException
public int getSonarIssues(String url, String severity) throws IOException
IOException
Copyright © 2016–2019. All rights reserved.