The AWS CodePipeline Plugin for Jenkins provides a pre-build SCM and a post-build step for your Jenkins project. It will poll and download changes. When a build succeeds it will zip the build artifacts and upload them to AWS CodePipeline.
After installing the plugin, some simple configuration is needed for your project:
- Open up your project configuration.
- In the
Source Code Management
section, select "AWS CodePipeline". - Fill out all the fields there as required.
- Configure your build as you normally would.
- In Post-Build Action, select AWS CodePipeline Publisher.
- If you only want to upload the status, don't add any output locations.
- If you want to upload the whole workspace, add a location but leave it blank.
- Otherwise, specify the folder location where you want to upload to.
This plugin is open sourced and licensed under Apache 2.0. See the LICENSE file for more information.