This repository provides the project description for the deployment of a static website on S3 AWS using the Jenkins Pipeline. The files in this repository contain a simple index.html file for testing the linting stage and the final upload. The main file is the Jenkinsfile, containing the configuration settings for a simple build pipeline and deployment.
- AWS account with a user (non root) having restricted permission
- create an ec2 instance, install and configure Jenkins running on it
- modify the "Jenkinsfile" in order to include linting, security check, and upload to AWS
- The AWS console with the permissions being created
- The unique AWS URL of your EC2
- Jenkins running on unique AWS URL
- AWS urlr with the Blue Ocean link in the sidebar
- GitHub project as a pipeline - master branch
- GitHub project as a pipeline - multibranch/stage pipeline as in BlueOcean
- GitHub project as a pipeline - master brach pipeline successful build
- AWS link to S3 with the index.html file
- rendering of the index.html from the S3
- Linting fail
- multistage and their state
- example of linting fix and AWS upload in the pipeline on non-master branch