public class HtmlPublisher
extends hudson.tasks.Recorder
| Modifier and Type | Class and Description |
|---|---|
static class |
HtmlPublisher.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
HtmlPublisher(List<HtmlPublisherTarget> reportTargets) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends hudson.model.Action> |
getProjectActions(hudson.model.AbstractProject<?,?> project) |
ArrayList<HtmlPublisherTarget> |
getReportTargets() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
static boolean |
publishReports(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
List<HtmlPublisherTarget> reportTargets,
Class<?> publisherClass)
Runs HTML the publishing operation for specified
HtmlPublisherTargets. |
ArrayList<String> |
readFile(String filePath) |
static ArrayList<String> |
readFile(String filePath,
Class<?> publisherClass) |
protected static String |
resolveParametersInString(hudson.EnvVars envVars,
hudson.model.TaskListener listener,
String input) |
protected static String |
resolveParametersInString(hudson.model.Run<?,?> build,
hudson.model.TaskListener listener,
String input) |
all, getProjectAction, needsToRunAfterFinalized, prebuild@DataBoundConstructor @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public HtmlPublisher(List<HtmlPublisherTarget> reportTargets)
public ArrayList<HtmlPublisherTarget> getReportTargets()
public ArrayList<String> readFile(String filePath) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic static ArrayList<String> readFile(String filePath, Class<?> publisherClass) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionprotected static String resolveParametersInString(hudson.model.Run<?,?> build, hudson.model.TaskListener listener, String input)
protected static String resolveParametersInString(hudson.EnvVars envVars, hudson.model.TaskListener listener, String input)
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionpublic static boolean publishReports(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
List<HtmlPublisherTarget> reportTargets,
Class<?> publisherClass)
throws InterruptedException
HtmlPublisherTargets.InterruptedExceptionpublic Collection<? extends hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
getProjectActions in interface hudson.tasks.BuildStepgetProjectActions in class hudson.tasks.BuildStepCompatibilityLayerpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Copyright © 2016–2018. All rights reserved.