public final class SonarUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
URL_PATTERN_IN_LOGS
Pattern for Sonar project URL in logs
|
| Modifier and Type | Method and Description |
|---|---|
static String |
extractSonarProjectURLFromLogs(hudson.model.AbstractBuild<?,?> build)
Read logs of the build to find URL of the project dashboard in Sonar
|
static String |
getLastSonarUrl(hudson.model.AbstractProject<?,?> project)
Iterate previous build of this project and return the last Sonar URL
|
public static final String URL_PATTERN_IN_LOGS
public static String extractSonarProjectURLFromLogs(hudson.model.AbstractBuild<?,?> build) throws IOException
IOExceptionpublic static String getLastSonarUrl(hudson.model.AbstractProject<?,?> project)
Copyright © 2007-2013. All Rights Reserved.