Report
Report
Pipeline
One of the challenges faced during the pipeline design was ensuring
consistent testing in the staging environment. This challenge was
addressed by implementing containerization.
Monitoring tools provide insights into the performance and health of the
application, allowing for proactive identification and resolution of issues.
Guided Steps To Create CI/CD
Pipeline with AWS, Jenkins, Docker
with Github
10.Now Added, Email Notification script and Selenium testing script – Build
Succeeded!
Jenkins Build Log Analysis:
Pipeline Initialization:
The pipeline is triggered by user Shreya Shetty.
Jenkinsfile obtained from the GitHub repository
https://github.com/Shreyashettys97/jenkins-todo-cicd.git.
Build Stage:
Docker image "my-flask-app" is built using the provided
Dockerfile.
Dependencies are installed, and the image is tagged and
named "shreya525/sample_web_app."
Setup Stage:
BrowserStack is configured for testing with Selenium.
BrowserStack test report generation is initiated but
encounters an error due to build name issues.
Test Stage:
The application is tested using pytest, and the test session
reports one passed test.
Deploy Stage:
Docker login is performed with credentials.
The Docker image is pushed to the specified repository.
Post Actions:
Email notification is sent to the specified recipient
(L00179089@atu.ie).
Docker logout is executed to remove login credentials.
11. Need to test the Email Functionality - Check email inbox for build
status!
Conclusion:
The Jenkins build log indicates successful execution of the CI/CD pipeline.
Each stage, from initialization to deployment, is detailed.
3. Docker Documentation:
o In-text citation: (Docker Documentation, 2023)
o Reference: Docker. (2023). "Docker Documentation: Get Started."
[online] Available at: [https://docs.docker.com/get-started/]
(Accessed: 9 November 2023).
4. GitHub:
o In-text citation: (GitHub, 2023)
o Reference: GitHub. (2023). "GitHub Guides: Understanding the
GitHub Flow." [online] Available at:
[https://guides.github.com/introduction/flow/] (Accessed: 9
November 2023).