Jenkins Notes 29 Oct 2023

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare
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
<blockquote class="wp-embedded-content" data-secret="b2NADycZDd"><a href="https://www.devopsschool.com/blog/jenkins-architecture-explained/">How Jenkins works? Jenkins Architecture Explained!!!</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“How Jenkins works? Jenkins Architecture Explained!!!” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/jenkins-architecture-explained/embed/#?secret=LvgjFFHeDr#?secret=b2NADycZDd" data-secret="b2NADycZDd" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>


Jenkins Formula
<blockquote class="wp-embedded-content" data-secret="FH231GfY5W"><a href="https://www.devopsschool.com/blog/jenkins-tutorials-preparation-of-jenkins-job-setup-checklist/">Jenkins Tutorials: Preparation of Jenkins Job Setup Checklist</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“Jenkins Tutorials: Preparation of Jenkins Job Setup Checklist” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/jenkins-tutorials-preparation-of-jenkins-job-setup-checklist/embed/#?secret=hmt0dCI2BG#?secret=FH231GfY5W" data-secret="FH231GfY5W" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

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	
		<blockquote class="wp-embedded-content" data-secret="PX6jjo1ZAc"><a href="https://www.devopsschool.com/blog/jenkins-pipeline-complete-reference-tutorials/">Jenkins Pipeline Complete Reference Tutorials</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“Jenkins Pipeline Complete Reference Tutorials” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/jenkins-pipeline-complete-reference-tutorials/embed/#?secret=BTTts3kgfw#?secret=PX6jjo1ZAc" data-secret="PX6jjo1ZAc" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
		Scripting syn
		Deca*


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


						



Code language: HTML, XML (xml)
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