public class ACIPluginPublisher
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
ACIPluginPublisher(String name,
boolean shownOnProjectPage)
Set the name of the publisher.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of the publisher.
|
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project)
Get the action associated to the publisher.
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Method that returns the status of the service required.
|
boolean |
isShownOnProjectPage()
Get whether or not to display the report on the Project page.
|
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspacePath,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Perform the publication.
|
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectActions, perform, perform, prebuild
@DataBoundConstructor public ACIPluginPublisher(String name, boolean shownOnProjectPage)
name
- The name of the published reportshownOnProjectPage
- Whether or not to display the report on the Project pagepublic String getName()
public boolean isShownOnProjectPage()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction
in interface hudson.tasks.BuildStep
getProjectAction
in class hudson.tasks.BuildStepCompatibilityLayer
project
- Project on which to apply publicationpublic void perform(hudson.model.Run<?,?> build, hudson.FilePath workspacePath, hudson.Launcher launcher, hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
build
- Build on which to apply publicationworkspacePath
- Unusedlauncher
- Unusedlistener
- UnusedIOException
- In case of file IO mismatchInterruptedException
- In case of interuptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
Copyright © 2004-2016. All Rights Reserved.