每日构建初窥

上一篇 / 下一篇  2010-05-05 10:03:25 / 个人分类:敏捷测试方法

构建工具之一 Hudson
作用: 联合maven,负责编译代码和单元测试
构建工具之二 Sonar
作用: 随着单元测试会进行覆盖率分析、规则违例分析、代码量分析等(没搞明白到底是Hudson还是Sonar去触发测试的)
 
 
Hudson里面的一些设置(定时编译、定时测试)
Build Triggers
 
Loading...
 
Loading...
 Projects names
Multiple projects can be specified like 'abc, def'
 
Loading...
 Authentication TokenUse the following URL to trigger build remotely:HUDSON_URL/job/service_shangdao/build?token=TOKEN_NAME
Optionally append&cause=Cause+Textto provide text that will be included in the recorded build cause.
 
Loading...
 Schedule
Loading...
 
Loading...
 Schedule
Loading...
Build
 Root POM
Loading...
 Goals and options
Loading...
 MAVEN_OPTS
Loading...
 Alternate settings file
Loading...
 
Loading...
 
Loading...
 
Loading...
 
Loading...
Build Settings
 
Loading...
 Recipients
Whitespace-separated list of recipient addresses. E-mail will be sent when a build fails.
 
 
 
.mailHelp{ border: solid #bbb 1px; background-color: #f0f0f0; padding: 1em; margin-bottom: 1em; }hideConfiguredOptions(); addTrigger("Failure"); var advHelpElm = document.getElementById("advancedEmailHelpConf"); advHelpElm.style.display="none";
Post-build Actions
 
Loading...
 Files to archive
 Excludes
Loading...
 
Loading...
 
Loading...
 
Loading...
 Jobs to aggregate
 
Loading...
 Projects to build
 
 
Loading...
 Repository URL
 Repository ID
Loading...
 
Loading...
 
Loading...
Configure email recipients, content, and what should trigger a notification
 Global Recipient List
Comma-separated list of email address that should receive notifications.
 Default Subject
 Default Content
Trigger
Send To Recipient List
Send To Committers
Include Culprits
More Configuration
Remove
FailureHelp for feature: Email Config
View More Options(expand)
Add a Trigger:
swapEdit("Unstable");swapEdit("Failure");swapEdit("Still-Failing");swapEdit("Success");swapEdit("Fixed");swapEdit("Still-Unstable");
Still FailingHelp for feature: Email Config
View More Options(expand)
SuccessHelp for feature: Email Config
View More Options(expand)
FixedHelp for feature: Email Config
View More Options(expand)
Still UnstableHelp for feature: Email Config
View More Options(expand)
 
Loading...
 SCP site
 Files to upload
 
Loading...
 Sonar Installation
 MAVEN_OPTS
MAVEN_OPTS env var to provide, if not set the plugin will use the MAVEN_OPTS defined by the maven builder config.
 Additional properties
Additional properties to be passed to the mvn executable (example : -Dsome.property=some.value).

 

 

30 * * * * -------------表示每小时过后的半小时会编译代码(也就是说每小时都会编译)

sonar>>Build periodically----------------这个是和sonar的连接处,每次编译完成后会运行sonar


TAG:

 

评分:0

我来说两句

Open Toolbar