Class PublisherTools
java.lang.Object
com.amazonaws.codepipeline.jenkinsplugin.PublisherTools
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.amazonaws.services.s3.model.ObjectMetadata
static void
putJobResult
(boolean buildSucceeded, String errorMessage, String actionID, String jobID, com.amazonaws.services.codepipeline.AWSCodePipeline codePipelineClient, BuildListener listener) static void
uploadFile
(File file, com.amazonaws.services.codepipeline.model.Artifact artifact, CodePipelineStateModel.CompressionType compressionType, com.amazonaws.services.codepipeline.model.EncryptionKey encryptionKey, com.amazonaws.services.s3.AmazonS3 amazonS3, BuildListener listener)
-
Method Details
-
putJobResult
public static void putJobResult(boolean buildSucceeded, String errorMessage, String actionID, String jobID, com.amazonaws.services.codepipeline.AWSCodePipeline codePipelineClient, BuildListener listener) -
uploadFile
public static void uploadFile(File file, com.amazonaws.services.codepipeline.model.Artifact artifact, CodePipelineStateModel.CompressionType compressionType, com.amazonaws.services.codepipeline.model.EncryptionKey encryptionKey, com.amazonaws.services.s3.AmazonS3 amazonS3, BuildListener listener) throws IOException - Throws:
IOException
-
createObjectMetadata
public static com.amazonaws.services.s3.model.ObjectMetadata createObjectMetadata(CodePipelineStateModel.CompressionType type)
-