Class AWSCodePipelinePublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelinePublisher
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
The AWS CodePipeline Publisher compresses the artifacts and uploads them to S3.
It calls putJobSuccessResult or putJobFailureResult depending on the build result.
It only works together with the CodePipeline SCM plugin to get access to the Job Data, Credentials and Proxy.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Descriptor forAWSCodePipelinePublisher
.static final class
Deprecated.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
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorDescriptionAWSCodePipelinePublisher
(net.sf.json.JSONArray outputLocations) AWSCodePipelinePublisher
(net.sf.json.JSONArray outputLocations, AWSClientFactory awsClientFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
callPublish
(AbstractBuild<?, ?> action, CodePipelineStateModel model, BuildListener listener) void
cleanUp
(CodePipelineStateModel model) boolean
perform
(AbstractBuild<?, ?> action, Launcher launcher, BuildListener listener) protected Object
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
AWSCodePipelinePublisher
@DataBoundConstructor public AWSCodePipelinePublisher(net.sf.json.JSONArray outputLocations) -
AWSCodePipelinePublisher
public AWSCodePipelinePublisher(net.sf.json.JSONArray outputLocations, AWSClientFactory awsClientFactory)
-
-
Method Details
-
perform
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
-
cleanUp
-
callPublish
public void callPublish(AbstractBuild<?, ?> action, CodePipelineStateModel model, BuildListener listener) throws IOException, InterruptedException- Throws:
IOException
InterruptedException
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classNotifier
-
getRequiredMonitorService
-
getOutputArtifacts
-
readResolve
-