public abstract class GhprbBaseBuildManager extends Object implements GhprbBuildManager
Modifier and Type | Field and Description |
---|---|
protected hudson.model.Run<?,?> |
build |
protected static Logger |
LOGGER |
Constructor and Description |
---|
GhprbBaseBuildManager(hudson.model.Run<?,?> build) |
GhprbBaseBuildManager(hudson.model.Run<?,?> build,
JobConfiguration jobConfiguration) |
Modifier and Type | Method and Description |
---|---|
String |
calculateBuildUrl(String publishedURL)
Calculate the build URL of a build of default type.
|
Iterator<?> |
downstreamProjects()
Return a downstream iterator of a build of default type.
|
protected String |
getAggregatedTestResults(hudson.model.Run<?,?> build) |
JobConfiguration |
getJobConfiguration() |
String |
getOneLineTestResults()
Print tests result of a build in one line.
|
String |
getTestResults()
Return the tests results of a build of default type.
|
protected static final Logger LOGGER
protected hudson.model.Run<?,?> build
public GhprbBaseBuildManager(hudson.model.Run<?,?> build)
public GhprbBaseBuildManager(hudson.model.Run<?,?> build, JobConfiguration jobConfiguration)
public String calculateBuildUrl(String publishedURL)
calculateBuildUrl
in interface GhprbBuildManager
publishedURL
- the public jenkins urlpublic Iterator<?> downstreamProjects()
downstreamProjects
in interface GhprbBuildManager
public JobConfiguration getJobConfiguration()
public String getTestResults()
getTestResults
in interface GhprbBuildManager
protected String getAggregatedTestResults(hudson.model.Run<?,?> build)
public String getOneLineTestResults()
GhprbBuildManager
getOneLineTestResults
in interface GhprbBuildManager
Copyright © 2016–2017. All rights reserved.