HUDSON环境搭建
1 下载Hudson
http://www.eclipse.org/hudson/download.php
我下载的是3.3.2版本;
2 安装Hudson
java -jarhudson-3.3.2.war
Hudson-3.3.2.war默认解压到/root/.hudson/目录,这个改变不了。
然后通过浏览器访问http://localhost:8080/,注:默认端口可以在解压时参数指定;
Select theplugins and click 【Install】 todownload and install the selected plugins or click 【Finish】 to start Hudson after installing the selected plugins.
安装过程,Terminal输出如下:
Jan08, 2018 10:50:58 AM org.eclipse.hudson.plugins.PluginInstallationJob run
INFO:Hudson BIRT Charts Plugin installation successful
Jan08, 2018 10:50:58 AM org.eclipse.hudson.plugins.PluginInstallationJob run
INFO:Installing the plugin JNA Native Support Plugin
Jan08, 2018 10:51:25 AM org.eclipse.hudson.plugins.PluginInstallationJob run
INFO:JNA Native Support Plugin installation successful
Jan08, 2018 10:51:25 AM org.eclipse.hudson.plugins.PluginInstallationJob run
INFO:Installing the plugin XPath Provider Plugin
Jan08, 2018 10:51:47 AM org.eclipse.hudson.plugins.PluginInstallationJob run
INFO:XPath Provider Plugin installation successful
3 使用Hudson
安装结束,就可以通过:http://localhost:8080/访问;
此时,使用的是【无安全管理】模式;
3.1 安装SubVersion插件
点击底部的【INSTALL】(需要联网)。
3.2 新建JOB
输入SVN用户名和密码。
3.3 新建VIEW
将JOB进行分页管理;