0% found this document useful (0 votes)
8 views1 page

Day69 - Notes

This document discusses using Jenkins, Git, and GitHub together. It outlines setting up accounts on GitHub, creating a repository to store code. It also covers installing Git for version control and uploading code to GitHub. Finally, it explains how to install and configure Jenkins to build code from GitHub on a schedule or manually, including using Windows commands or Ant build files during the build process.

Uploaded by

Sai Madhu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Day69 - Notes

This document discusses using Jenkins, Git, and GitHub together. It outlines setting up accounts on GitHub, creating a repository to store code. It also covers installing Git for version control and uploading code to GitHub. Finally, it explains how to install and configure Jenkins to build code from GitHub on a schedule or manually, including using Windows commands or Ant build files during the build process.

Uploaded by

Sai Madhu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Jenkins, Git and GitHub (Continued)

GitHub
Create a public account on GitHub
GitHub is a code hosting platform for version control and collaboration.
Create a repository say 'DemoProject' to store the code on the server instead of in local.
Git
Git is a version control system using which we can version, upload, maintain and download the code from
GitHub
Install 32 bit version of Git
Jenkins
Download Jenkins and install
On browsing localhost:8080, all the plug-ins required by Jenkins will be installed
Create a free style project in Jenkins and explain the building process
Source code option set to none will build the code from a local machine
Demonstrate building process using Windows command > echo %time%
Select 'Build Now' option to build
Go to Console output to view the results
Can build periodically
* * * * * (Every Minute)
0-0 5 * * * (Every day at 5 AM)
0-0 0 * * * (Every day at 12 midnight)
0-0 5 * * 3 (Every Wednesday 5 AM)
0-0 H/6 * * * (Every 6th hour)
H/5 * * * * (Every 5 mins)
0-59/2 * * * * (Every 2 mins)
We can invoke ANT > build.xml on Local machine using Jenkins by providing the complete build path and
targets like run, compile etc.
Enable the Auto refresh in Jenkins

You might also like