jenkins.plugins.shiningpanda.publishers
Class CoveragePublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
jenkins.plugins.shiningpanda.publishers.CoveragePublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class CoveragePublisher
- extends hudson.tasks.Recorder
Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
Field Summary |
static String |
BASENAME
Base name for the HTML report folder on master. |
String |
htmlDir
Path to the HTML folder in the workspace. |
static String |
INDEX
Index file in report folders. |
static String |
JS
Script file contained in report folders. |
static String |
STATUS
Status file in report folders. |
Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
Method Summary |
static File |
getHtmlDir(hudson.model.Run<?,?> run)
Get the folder containing the HTML on the master for a build. |
Collection<hudson.model.Action> |
getProjectActions(hudson.model.AbstractProject<?,?> project)
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
Methods inherited from class hudson.tasks.Recorder |
getDescriptor |
Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, needsToRunAfterFinalized, prebuild |
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, perform, prebuild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hudson.tasks.BuildStep |
getProjectAction, prebuild |
BASENAME
public static final String BASENAME
- Base name for the HTML report folder on master.
- See Also:
- Constant Field Values
JS
public static final String JS
- Script file contained in report folders.
- See Also:
- Constant Field Values
INDEX
public static final String INDEX
- Index file in report folders.
- See Also:
- Constant Field Values
STATUS
public static final String STATUS
- Status file in report folders.
- See Also:
- Constant Field Values
htmlDir
public final String htmlDir
- Path to the HTML folder in the workspace.
CoveragePublisher
@DataBoundConstructor
public CoveragePublisher(String htmlDir)
- Constructor using fields.
- Parameters:
htmlDir
- The HTML directory
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform
in interface hudson.tasks.BuildStep
- Overrides:
perform
in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
getProjectActions
public Collection<hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
- Specified by:
getProjectActions
in interface hudson.tasks.BuildStep
- Overrides:
getProjectActions
in class hudson.tasks.BuildStepCompatibilityLayer
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getHtmlDir
public static File getHtmlDir(hudson.model.Run<?,?> run)
- Get the folder containing the HTML on the master for a build.
- Parameters:
run
- The build
- Returns:
- The path to the HTML folder
Copyright © 2004-2012. All Rights Reserved.