Jenkins and Git (cicd)

Jenkins Training TOC[3  days]

Day 1: Introduction to  Git, Github and Jenkins

github link: https://github.com/amitopenwriteup/jenkinslabs
  • Introduction to SCM
  • Setup github account
  • Git commands (config, status, logs, pull,clone,push,branch and merge)
  • Configuring ssh
  1. Introduction to Jenkins
  • Overview of Jenkins
  • Installation and Setup
  • Types of installation (Lab setup on ubuntu vm)
  • Jenkins Architecture
  1. Jenkins Jobs
    • Jenkins Dashboard
    • Creating Jenkins Jobs
    • Configuring Build Triggers
    • Managing Jenkins Plugins
    • Freestyle projects [labs]
    • Add parameters and output files in free style project
  2. Jenkins plugins
    • Understand the concept 
  1. Introduction to CI/CD
  • Understanding Continuous Integration (CI)
  • Understanding Continuous Deployment (CD)
  • Benefits of CI/CD
  1. Version Control Integration
  • Integrating Jenkins with Git
  • Setting Up Jenkins Jobs with Git Integration
  • Building and Testing Code from Version Control

Day 2: Advanced Jenkins Configuration and Pipelines

  1. Jenkins Build Pipelines 
    • Introduction to Jenkins Pipelines
    • Writing Pipeline Scripts
    • Defining Stages and Steps
    • Handling Jenkins Pipeline Errors
  1. Jenkinsfile 
  • Creating and Managing Jenkinsfiles
  • Sharing Common Pipeline Code with Libraries
  • Best Practices for Jenkins Pipeline Development
  1. Jenkins Pipeline
  • Jenkins pipeline for mvn
  • Mvn project
  • Jenkins pipeline for docker
  • Docker projects
  • Jenkins pipeline for ansible installation

Day 3:

  1. Jenkins Security and Access Control[labs]
  • User Authentication and Authorization
  • Securing Jenkins Installations
  • Jenkins Security Best Practices
  1. Jenkins notification[labs]
  • Slack notification
  • Email notification
  1. git webhook[labs]
  • Setup the webhook
  • Trigger automated build using web hook
  1. Jenkins backup and restore
  2. Jenkins Agent
  3. Jenkins log files and troubleshooting
  4. Setup Jenkins cli 
  5. Jenkins api