有什么CI-Systems的Delphi像Hudson for Java?
Hudson有任何Delphi集成吗?
Hudson有任何Delphi集成吗?
解决方法
我们使用Hudson :),它工作正常与Delphi。
这里是我的一个项目的完整设置:
<?xml version='1.0' encoding='UTF-8'?> <project> <actions/> <description></description> <keepDependencies>false</keepDependencies> <properties/> <scm class="hudson.scm.CVSSCM"> <cvsroot>:sspi:cvsonly:foo@bar:/baz</cvsroot> <module>SIP</module> <canUseUpdate>false</canUseUpdate> <flatten>true</flatten> <isTag>false</isTag> <excludedRegions></excludedRegions> </scm> <canRoam>true</canRoam> <disabled>false</disabled> <triggers class="vector"/> <builders> <hudson.tasks.BatchFile> <command>"C:\Program Files\Nant\bin\nant" -buildfile:etc\sip.build build-d7 test</command> </hudson.tasks.BatchFile> </builders> <publishers> <hudson.tasks.BuildTrigger> <childProjects>quux,foozle,wibble</childProjects> <threshold> <name>SUCCESS</name> <ordinal>0</ordinal> <color>BLUE</color> </threshold> </hudson.tasks.BuildTrigger> </publishers> <buildWrappers/> </project>
sip.build的delphi-7目标构建项目的测试套件(DUnit的TextTestRunner),所以作业的输出只是失败/错误测试的计数感谢:
var R: TTestResult; begin R := TextTestRunner.RunRegisteredTests; ExitCode := R.ErrorCount + R.FailureCount; end;
原文地址:https://www.jb51.cc/delphi/103625.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。