I am working on a pipeline with AWS Code pipeline using Jenkins as a build provider. Jenkins has a plugin(AWS CodePipeline plugin) to connect/poll with the pipeline.
Flow of the pipeline:
Source - CodeCommit Build - Jenkins Deploy - CloudFormation
Jenkins produces an output artifact(testart which contains imagedefinitions.json) that is uploaded to s3 using the plugin. For some reason, CloudFormation is able to find the artifact, but not the imagedefinitions.json file.
The error that I get in the deploy stage:
"File (imagedefinitions.json) does not exist in artifact (testart)".
PS: The pipeline has full permissions to access s3.
Any help is appreciated :)
imagedefinitions.json
file? Flat, without any directory structure? – Milan Cermak