public class GroovyPostbuildRecorder extends Recorder implements hudson.matrix.MatrixAggregatable
BadgeAction
s to a build.Modifier and Type | Class and Description |
---|---|
static class |
GroovyPostbuildRecorder.BadgeManager |
Publisher.DescriptorExtensionListImpl
ExtensionPoint.LegacyInstancesAreScopedToHudson
BuildStep.PublisherList
BUILDERS, 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, prebuild
getProjectActions, 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 BuildStep
getProjectAction
in class BuildStepCompatibilityLayer
public GroovyPostbuildDescriptor getDescriptor()
getDescriptor
in interface Describable<Publisher>
getDescriptor
in class Recorder
public final boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform
in interface BuildStep
perform
in class BuildStepCompatibilityLayer
InterruptedException
IOException
public final BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface BuildStep
public 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.MatrixAggregatable
build
- launcher
- listener
- MatrixAggregatable.createAggregator(hudson.matrix.MatrixBuild, hudson.Launcher, hudson.model.BuildListener)
Copyright © 2016–2019. All rights reserved.