Jenkins Master installs on Windows
1 Jenkins
Jenkins was renamed from the previous Hudson. The main function of Jenkins is to monitor the execution of repetitive work, such as the construction of software engineering or jobs set up under cron. In particular:
* The software continues to build and test, when Jenkins is similar to CruiseControl or Damagecontrol. Essentially provides an easy-to-use, continuous integration system that makes it easier for developers to integrate changes into the project, making it easier for users to get a new build. Automation, continuous construction improves the efficiency of software development.
* Monitor the execution of externally operated jobs, such as cron jobs or procmail jobs, even if they are running on a remote machine. For example, for Cron, you will receive an email containing the output of the job, you need to check the email to confirm whether the job broke. Jenkins will keep these outputs and make it easier for you to notice the broke of the job.
The main features of Jenkins:
* Easy to install, just perform Java-jar jenkins.war, or deploy directly to a servlet container, such as Tomcat. No installation is required and database support is not required.
* Easy to configure, Jenkins can be configured completely through a friendly web GUI, and the configuration page supports error checking of configuration items and good online help. There is no need to manually edit the XML configuration file, but Jenkins also supports manual modification of the XML configuration file.
* Project Source modification detection, Jenkins can generate a list of recently modified collections from the Subversion/cvs of the project, and the change is very effective, does not increase the load Subversion/cvs repository.
* Readable permanent link generation, Jenkins generates clear, readable, permanent links to most pages, such as ' latest build '/' latest successful build ', This makes it easy to refer to the generated pages of Jenkins in other places.
* Rss/email/im integration allows you to monitor build failures in real time via rss,email or IM.
* The build can still be tagged after the build is complete, and the tag or tag will be supported after it is completed.
* The JUNIT/TESTNG test report is a good way to show the reports of various tests, and can generate a trend map of failure.
* Distributed build,jenkins can distribute build/test load to multiple machines, making better use of hardware resources and increasing build time.
* File ID, Jenkins can identify the file generated by build, such as jars.
* Plugin support, Jenkins can be extended by third-party plugins.
* Cross-platform, support for almost all platforms, such as Windows,ubuntu/debian,red Hat/fedora/centos,mac OS x,opensuse,freebsd,openbsd,solaris/ Openindiana.gentoo.
2 The installation of Jenkins Master in Windows
Download Jenkins.war, copy to C:\jenkins, and then run Java-jar Jenkins.war. (Note that you need to install the JDK first, then set the JAVA_HOME environment variable and add%java_home%\bin to the PATH environment variable)
Run as follows:
C:\jenkins>java-jar Jenkins.war
Running From:c:\jenkins\jenkins.war
Webroot: $user. home/.jenkins
[Winstone 2011/11/02 17:11:27]-Beginning extraction from war file
Jenkins home directory:c:\users\aaa\.jenkins found at: $user. home/.jenkins
[Winstone 2011/11/02 17:12:57]-HTTP Listener started:port=8080
[Winstone 2011/11/02 17:12:57]-AJP13 Listener started:port=8009
[Winstone 2011/11/02 17:12:58]-Winstone Servlet Engine v0.9.10 running:controlport=disabled
Nov 5:12:58 PM jenkins.model.jenkins$6 onattained
Info:started initialization
Nov 5:13:02 PM jenkins.model.jenkins$6 onattained
Info:listed All Plugins
Nov 5:13:02 PM jenkins.model.jenkins$6 onattained
Info:prepared All Plugins
Nov 5:13:02 PM jenkins.model.jenkins$6 onattained
Info:started All Plugins
Nov 5:13:02 PM jenkins.model.jenkins$6 onattained
info:augmented All extensions
Nov 5:13:02 PM jenkins.model.jenkins$6 onattained
info:loaded All Jobs
Nov 5:13:04 PM jenkins.model.jenkins$6 onattained
Info:completed initialization
Nov 5:13:04 PM Hudson. Tcpslaveagentlistener <init>
INFO:JNLP slave agent Listener started on TCP Port 37157
Nov 5:13:14 PM Hudson. Webappmain$2 Run
Info:jenkins is fully up and running
To access http://localhost:8080, the main interface of Jenkins is as follows:
?
Finish!
Jenkins Master in Windows