- AWS Automation Cookbook
- Nikit Swaraj
- 99字
- 2025-04-04 17:56:57
Getting ready
Before proceeding, make sure you clone the application from GitHub (https://github.com/awsstar/CB-Maven-App-UI.git) and create a new CodeCommit repository in your account and migrate the GitHub code to your CodeCommit repository.
The following are the details that we will be going to use in CodeBuild:
- Source repository: AWS CodeCommit
- Repository name: CB-MAVEN-Book
- Build environment: AWS CodeBuild
- Environment image: Image managed by AWS CodeBuild
- OS: Ubuntu (only OS provided by CodeBuild)
- Runtime: Java
- Version: aws/codebuild/java:openjdk-8
- Build specification: Insert build commands
- Build command: mvn install
- Artifacts: AWS S3
- Artifacts type: Amazon S3
- Artifacts name: Books
- BucketName: awsstar-s3
- Output files: books.war