🚀 DevOps Certified Professional
📅 Starting: 1st of Every Month 🤝 +91 8409492687 | 🤝 +1 (469) 756-6329 🔍 Contact@DevOpsSchool.com

Jenkins Notes 29 Oct 2023

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

What is Jenkins?
===========================
	CI tool
	Open Source & Free
	Written in JAVA
	Release
		Community =========================== Free
		Jenkins Enterprise - CloudBees  - Paid
		BlueOcean - Free
		JenkinsX - Free
	Plugins - powered

What is CI?
===========================
Auto Build + Auto  Testing 
---------------------------
	Imm Feedback					QA
		Dev			==================================
=====================================
Code -> Scan -> Build -> UT -> Pack -> Archive -> Dep2Qa -> AT -> CC
====================================================================
Git     Sonar    maven   junit packer  artifactory ansible  selenium jacoco
============================================================================
				Jenkins

									ALL Passed - Release
									One failed - Repeat

How to install Jenkins?
---------------------------------------
https://www.devopsschool.com/blog/complete-tutorial-of-jenkins-installation-and-configuration/

Jenkins Architecture



Jenkins Formula


Question#1 – What is your programming Language	- java
Question#2 – Where is the source code for project?
https://github.com/devopsschool-demo-labs-projects/helloworld-java-maven

Question#3 – How Frequently you want this JOB to be triggered?
		@daily
Question#4 – What is your Builders?
		maven

				compile
				test
				package
Question# 5 – Whom you want to deliver Feedback of Job

		devops@rajeshkumar.xyz

============================================================================
Jenkins feature
		Integration
		
		Scheduling
		Feedback
		
		How to Add more nodes to jenkins


Integration
===========================================
KNow all the involved tools and their
Install plugins
Config plugins
		Server
		scanner
Do integ in jobs

Method 1 – AT CERTAIN TIME AKA Build periodically

Method 2 – AT CERTAIN TIME BUT Build only when there is Code changes AKA Poll SCM

Method 3 – Trigger using command line or script AKA Trigger builds remotely (e.g., from scripts)

Method 4 – Trigger this job if other job is triggerred AKA Build after other projects are built

Method 5 – Trigger a job when there is PUSH into Github AKA GitHub hook trigger for GITScm polling
Method 6 – Trigger a job when there is PUSH into Bitbucket AKA GitHub hook trigger for GITScm polling

Method 7 – Trigger another job after this Job AKA Post Build Action => Build Other project

Method 8 – Trigger a Jenkins jobs using Jenkins command line jar file

curl -X POST --user rajesh:110be10b302cb14cc533bb9fdb9bc8ac63 http://3.86.7.25:8080/job/DevOpsSchool/job/Build/build?delay=0sec


Feedback
		Email
		Chat
				Slack
				team
		Pipeline
				Coding for CI	
		
		Scripting syn
		Deca*


https://www.devopsschool.com/blog/?s=jenkins


						



Subscribe
Notify of
guest


This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x