Day69 - Notes
Day69 - Notes
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