Monday, 1 April 2024

Jenkins tutorial from basic to advanced

1. Outline learning jenkins
- Jenkins
- Jobs, Builds & Triggers
- Builds
- Pipelines & Jenkinsfile
- Views
- Master server
- Agents (Nodes/Slaves)
- Plugins
- Credentials
- Parameters
- SCM (Source code management)
- Ngrok
- Python Jenkins (automated for Jenkins)
- Laravel CI/CD with Jenkins, Docker, AWS
- Implementing CI/CD for a Laravel App with Jenkins Using Docker Cloud Agents

2. What to use Jenkins for?
- Jenkins is used for CI/CD (continuous integration/ continuous delivery)
+ Automated builds
+ Continuous integration (CI)
+ Automated testing
+ Continuous Deployment (CD)  
+ Monitoring and reporting

- Jenkins Infrastructure:
+ Master server: Controls pipelines, Schedules Builds
+ Agents: Perform the Build

- Workflow in Jenkins:
+ Developer: commit the code
+ Jenkins Master server: aware the commit change code, then Triggers Pipeline, and distribute to a Agents to run (The Agent was selected base on Configure Labels)
+ Agents run the build: Build, test, distribute code to Server to deploy.

3. How to use Jenkins?
- Installation
- Accessing Jenkins
- Creating Jobs
- Building Jobs
- View Build results
- Monitoring and maintenance
- Scaling and Optimization
- Continuous integration and Deployment

Reference
- https://www.jenkins.io/doc/tutorials/
- https://www.tutorialspoint.com/jenkins/index.htm

Thank you

No comments:

Post a Comment

Golang Advanced Interview Q&A