Jenkins Tutorial | Devops Real Time Project | Jenkins Project Part - 2

Опубликовано: 01 Июнь 2026
на канале: Aws tutorial for beginners With Devops
779
9

Jenkins Tutorial
Devops Tutorial For Beginners
Jenkins Tutorail For Beginners

Here will see jenkins project part-2

1.Trouble shooting the maven projects
2.Scheduling the projects
3.Source code polling...

devops jenkins,jenkins project example,jenkins project github,jenkins project configuration,
jenkins real time scenarios,jenkins real time project,jenkins real time issues,
jenkins real time tasks,jenkins maven project,jenkins maven build configuration,
real time devops project,real time scenarios in devops,real time issues in devops,
devops real time projects training

1.Troubleshooting is easy...just see here once...
i am adding github source code to build...let's do it now

enter this url https://github.com/prabhasbuddu/
and go inside the Time-tracker project
click on fork button and it came to your github...
now you can add that main browser url in git hub project...
(this is mine forked)https://github.com/AWSTutorialForbegi...
(this is the clone url) https://github.com/AWSTutorialForbegi...
here we have to enter the respiratory url .

it is building the code...will take 2 min or 5 min.
green ball build successfull...
now will modify the code that means we are creating a bug there....
i am going to distrb the code...will see what will build shows...
i have removed the main code of that time-tracker project....
those 2 lines of code is very necessary to build successfull...
see red ball appeared that means build faild...
will check the what is the error where we got it...we have to troubleshoot
this in real time scenario...let's check the error build.
it shows the last commited tracker-java file....
let's remove that bug and commit again...
now we are building again then it won't show any error...
like this we have to trouble shoot the error builds...

now will see (Scheduling the projects)

2.it means we will build the projects automatically with time intervals....

1 min or 2 min 5 min or 1 hour...like this we can automate the build now..
will see 1 min build schedule...

open the time-tracker project and configure---build peridically
mention 5 stars with spaces...

* * * * like this...now
minute hour day month week (this is the mean for 5 stars...)
wait for 1 min it will build automatically...

First star = Minutes: 0-59
Second star = Hours: 0-23
Third star = Day of Month: 0 - 31
Fourth star = Month: 0 - 12
Fifth star = Day of Week: 0 - 6 (0 means sunday)


see it's automated with build periodically by 1 min...
after 1 min it will automatically build the code...



Source code polling...
3.source code polling means whenever changes happen in code it will
build automatically....
let's edit the file in github code and see it will take this action or not..
create another job (or in time-tracker) and do this...first time it will build automatically
then change the code in github and commit it....it will take the updated
changes to build...wait for 1 min it will trigger...
every min it will check the changes with github
if any changes then only it will trigger build otherwise it wont build.

that's it for this video.....will be back in next videos....

let's subscribe and like share comment.....
share with your friends it will be helpfull....