Jenkins (CI/CD) pipelines

Session 1

Session 2

INSTALLATION OF JENKINS:

………………..Now enjoy your jenkins plateform……………

Download a plugins :

Session 3

To create a new job or items

Some about the github :

lets try to build a small and basic job in jenkins

Without Triggers

Triggers :

You can see the build triggers option in job's -> Configure setting.

1. Trigger builds remotely :

predefined URL to trigger build remotely: JENKINS_URL/job/JobName/build?token=TOKEN_NAMEJENKINS_URL: the IP and PORT which the Jenkins server is running
TOKEN_NAME: You have provided while selecting this build trigger.
//Example:
http://e330c73d.ngrok.io/job/test/build?token=12345

2. Build after other projects are built

Build periodically:

MINUTE HOUR DOM MONTH DOW
# every fifteen minutes (perhaps at :07, :22, :37, :52)
H/15 * * * *
# every ten minutes in the first half of every hour (three times, perhaps at :04, :14, :24)
H(0-29)/10 * * * *
# once every two hours at 45 minutes past the hour starting at 9:45 AM and finishing at 3:45 PM every weekday.
45 9-16/2 * * 1-5
# once in every two hours slot between 9 AM and 5 PM every weekday (perhaps at 10:38 AM, 12:38 PM, 2:38 PM, 4:38 PM)
H H(9-16)/2 * * 1-5
# once a day on the 1st and 15th of every month except December
H H 1,15 1-11 *

GitHub webhook trigger for GITScm polling:

http://e330c73d.ngrok.io/github-webhook
//This URL is a public URL where the Jenkins server is running

Poll SCM:

HOW TO RUN PYTHON JOB IN JENKINS

I am pursiing B-tech. and also very fond of learning new technology under the guidance of Vimal Daga sir (World Record Holder).