For this HTML project, I develop the multi branch Jenkins Pipeline. I defined 5 stage in the pipeline:
- Project cloned from github
- Using Dockerfile, create a Docker artifact.
- Test Project
- Upload a docker image to AWS ECR (Elastic Container Registry),
- then use AWS ECS (Elastic Container Service) to deploy a project.
I also set a webhook in github. Therefore, Jenkins pipeline will automatically start whenever we alter the code.
- AWS account
- How to create Jenkin pipeline.
- How to create Docker artifact.
- How to use ECS, ECS services.
- Docker
- Jenkin
- AWS services like EC2, ECR, ECS