public class GroovyPostbuildRecorder extends Recorder implements hudson.matrix.MatrixAggregatable
BadgeActions to a build.| Modifier and Type | Class and Description |
|---|---|
static class |
GroovyPostbuildRecorder.BadgeManager |
Publisher.DescriptorExtensionListImplExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherListBUILDERS, PUBLISHERS| Constructor and Description |
|---|
GroovyPostbuildRecorder(org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript script,
int behavior,
boolean runForMatrixParent) |
| Modifier and Type | Method and Description |
|---|---|
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild build,
Launcher launcher,
BuildListener listener) |
int |
getBehavior() |
GroovyPostbuildDescriptor |
getDescriptor() |
Action |
getProjectAction(AbstractProject<?,?> project) |
BuildStepMonitor |
getRequiredMonitorService() |
org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript |
getScript() |
boolean |
isRunForMatrixParent() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectActions, perform, prebuild@DataBoundConstructor
public GroovyPostbuildRecorder(org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript script,
int behavior,
boolean runForMatrixParent)
public final Action getProjectAction(AbstractProject<?,?> project)
getProjectAction in interface BuildStepgetProjectAction in class BuildStepCompatibilityLayerpublic GroovyPostbuildDescriptor getDescriptor()
getDescriptor in interface Describable<Publisher>getDescriptor in class Recorderpublic final boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic final BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface BuildSteppublic org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript getScript()
public int getBehavior()
public boolean isRunForMatrixParent()
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener)
createAggregator in interface hudson.matrix.MatrixAggregatablebuild - launcher - listener - MatrixAggregatable.createAggregator(hudson.matrix.MatrixBuild, hudson.Launcher, hudson.model.BuildListener)Copyright © 2016–2019. All rights reserved.