Use this slide if there is no Heading
Note - Create Content inside Red Layout
[Delete Red Outline After creating slide]
Learning Outcome
6
Control default browser behavior using preventDefault()
5
Identify and use common mouse,keyboard,form and window events
4
Understand how teams benefit from using Jenkinsfile
3
Know why Jenkinsfile is important in CI/CD
2
Explain the idea of Pipeline as Code in simple terms
1
Understand what a Jenkinsfile is
Topic Name-Recall(Slide3)
Hook/Story/Analogy(Slide 4)
Transition from Analogy to Technical Concept(Slide 5)
What is a Jenkinsfile?
A Jenkinsfile is a simple text file & it contains instructions for jenkins
Jenkins reads this file & runs the pipeline
What is a Jenkinsfile?
Purpose of Jenkinsfile
To write the CI/CD process as code
To avoid manual steps
To make the process consistent & reliable
Where is Jenkinsfile Stored?
Stored along with the project code
Kept in version control systems like Git or GitHub
Code and pipeline stay together
What Does “Pipeline as Code” Mean?
Writing the entire pipeline in a file
No need to configure pipelines manually in Jenkins UI
Easy to manage, share and update
Benefits of Pipeline as Code
Same pipeline runs every time without mistakes
Changes can be tracked easily
Build, test, and deploy happen automatically
Benefits of Pipeline as Code
Team Collaboration & Maintenance
Multiple team members can work on the pipeline
Changes can be tested before final use
Pipelines can be updated as requirements change
Standardization
Same best practices followed across projects
Less confusion and fewer errors
Easier to maintain in the long term
Summary
4
It improves consistency, collaboration and control
3
Jenkinsfile is stored with the project code
2
Pipeline as Code makes automation simple and reliable
1
Jenkinsfile defines the CI/CD pipeline in a single file
Quiz
Where is a Jenkinsfile usually stored ?
A. Jenkins dashboard
B. Local system only
C. Version control system
D. Email
Quiz-Answer
Where is a Jenkinsfile usually stored ?
A. Jenkins dashboard
B. Local system only
C. Version control system
D. Email