Package org.marvelution.jji.marker
Class DeploymentBuildMarker
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- org.marvelution.jji.marker.DeploymentBuildMarker
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,Serializable
,SimpleBuildStep
public class DeploymentBuildMarker extends Recorder implements SimpleBuildStep, Serializable
Recorder
/SimpleBuildStep
that marks a build as a deployment to a specific environment.- Since:
- 3.8.0
- Author:
- Mark Rekveld
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeploymentBuildMarker.Descriptor
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description DeploymentBuildMarker(String environmentId, String environmentName, String environmentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEnvironmentId()
String
getEnvironmentName()
String
getEnvironmentType()
BuildStepMonitor
getRequiredMonitorService()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
void
perform(Run<?,?> build, FilePath workspace, EnvVars env, Launcher launcher, TaskListener 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, getProjectActions, 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, getProjectActions, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Method Detail
-
getEnvironmentId
public String getEnvironmentId()
-
getEnvironmentName
public String getEnvironmentName()
-
getEnvironmentType
public String getEnvironmentType()
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
-
perform
public void perform(@NonNull Run<?,?> build, @Nullable FilePath workspace, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener)
- Specified by:
perform
in interfaceSimpleBuildStep
-
-