About
In this workshop, we integrate AWS CodeBuild and AWS CodeDeploy with Jenkins and execute the CICD pipeline to build and deploy the application. We will also spin up an infrastructure with ALB and EC2’s on which the application would be deployed.
Read more: https://third-party-integration-codebuild-codedeploy-plugins.workshop.aws/en/
Unzip Sample Application
Commit the files to Github Repo
Cloudformation stack contains
Amazon S3 bucket
IAM S3 bucket policy
JenkinsRole
CodeDeploy application
CodeDeploy service role
CodeDeployRole
CodeBuildRole
Jenkins server
CodeBuild project
Auto Scaling group
Auto Scaling launch configurations
Security groups
ELBDNS generated in output
Sample page generated by ELB
SSH into Jenkins server
Retrieve password for Jenkins server - SSH
/var/lib/jenkins/secrets/initialAdminPassword
Jenkins Configuration & deployment
Plugins installation
Starting a freestyle Project in Jenkins server
Build step failure
After multiple tries and debugging sessions the build step kept failing.
ERROR: Build step failed - response HTTP/1.1 301 Moved Permanently but no location header
Top comments (0)