Jenkins Beginner Tutorial 8 – Jenkins integration with GIT (SCM)

Notes:

Today we will learn:

1. Create a java program and run it through command line
2. Create a Jenkins job to run the java program
3. Add this program/project to Git
4. Jenkins – add git plugin
5. Configure Jenkins job to trigger the execution when a change is pushed to GitHub


Step 1
Create a java program


Step 2
Compile from command line
javac “name of .java class”
java “name of class without extension .java”


Step 3
Create a Jenkins job to run this program


Step 4
Add the project to Git and GitHub


For Reference:

Git and GitHub Beginner Tutorial 1 – Introduction – https://youtu.be/-U-eUHI6euM?list=PLhW3qG5bs-L8OlICbNX9u4MZ3rAt5c5GG

Git and GitHub Beginner Tutorial 2 – Getting started – Install Git (mac) – https://youtu.be/0Icla6TVNNo?list=PLhW3qG5bs-L8OlICbNX9u4MZ3rAt5c5GG

Git and GitHub Beginner Tutorial 3 – Getting started – Install Git windows – https://youtu.be/sBTAkHOxvOk?list=PLhW3qG5bs-L8OlICbNX9u4MZ3rAt5c5GG


Step 5 : Configure Jenkins job to trigger build on Git commit


 

Jenkins Beginner Playlisthttps://www.youtube.com/playlist?list=PLhW3qG5bs-L_ZCOA4zNPSoGbnVQ-rp_dG

Send me your comments and feedback


 

Comments 2

  • I simply want to say I’m all new to blogging and seriously enjoyed you’re web page. Most likely I’m going to bookmark your blog . You definitely have wonderful article content. Thanks a bunch for sharing your web site.

  • My husband loves to write and he love sports?He needs a part time job so he was wonder if he can get paid doing what he love. How can he get paid blogging or writing about sports?. Thanks,He love and know allot about soccer or futball,and american football..

Leave a Reply

Your email address will not be published.