Create a new SNS topic and choose a desired name (make sure to stick to the same AWS region)
Create a related email subscription, as follows
Note: After your email subscription is created, you must confirm it!
Start by creating a new pipeline as follows. Pipeline name could be like your application / artifactId.
As source, select your AWS CodeCommit repository.
Note: The following steps are based on using AWS CodeCommit. For other repositories please check the documentation
Create a new AWS CodeBuild project:
Name could be like your application / artifactId.
Note: Make sure to select the Ubuntu Image Version 2.0, due to the OpenJDK dependency
Leave as is and continue to CodePipeline.
Proceed with the CodePipeline wizard:
Finish wizard, deploy stage will be added later!
Once the pipeline has been successfully created, it will automatically be triggered based on your last commit.
You can check out the build output by clicking the Details button inside the Build stage.
You can also check the aggregated Build Reports via CodeBuild -> Report groups.
Congratulations, you have created your first build pipeline. Let’s proceed to the next step for adding an approval as well as the deployment stage.