基于标签结帐的jenkins svn构建 - 如何

时间:2013-07-08 09:14:03

标签: svn build tags jenkins continuous-integration

我们有3个环境 - 开发,升级,生产

我想要标记一个构建 - dev1到svn,我希望jenkins检查dev1的代码。在此之后,当测试此dev1时,修复了错误,我将构建标记为prod_release_date。 现在,我将再次进行构建并将其推送到生产服务器。

我的问题是 - 如何基于标签制作jenkins结帐和构建?在我想要的构建之后有更新的签到(dev1)。

我使用特定标记构建的url部分实现了这一点。 (主要构建n个子构建,并通过基于url的标记构建,它可以执行子构建但在主构建期间失败)错误被粘贴到下面。 任何替代品???我错过了什么吗?

org.tmatesoft.svn.core.SVNException: svn: E175002: REPORT /svn/!svn/vcc/default failed
  at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:379)
  at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:364)
  at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352)
  at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:708)
  at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:335)
  at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1289)
  at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:831)
  at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doSwitchImpl(SVNUpdateClient16.java:433)
  at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doSwitch(SVNUpdateClient16.java:726)
  at org.tmatesoft.svn.core.internal.wc2.old.SvnOldSwitch.run(SvnOldSwitch.java:18)
  at org.tmatesoft.svn.core.internal.wc2.old.SvnOldSwitch.run(SvnOldSwitch.java:8)
  at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
  at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
  at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291)
  at org.tmatesoft.svn.core.wc.SVNUpdateClient.doSwitch(SVNUpdateClient.java:619)
  at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:161)
  at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:153)
  at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:903)
  at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:884)
  at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:867)
  at hudson.FilePath.act(FilePath.java:905)
  at hudson.FilePath.act(FilePath.java:878)
  at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:843)
  at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:781)
  at hudson.model.AbstractProject.checkout(AbstractProject.java:1382)
  at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
  at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
  at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
  at hudson.model.Run.execute(Run.java:1593)
  at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:491)
  at hudson.model.ResourceController.execute(ResourceController.java:88)
  at hudson.model.Executor.run(Executor.java:247)
Caused by: svn: E175002: REPORT /svn/!svn/vcc/default failed
  at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:208)
  at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:154)
  at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:97)
  ... 32 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: E175002: REPORT request failed on '/svn/!svn/vcc/default'
svn: E175002: chunked stream ended unexpectedly
  at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
  at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
  at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:754)
  at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:373)
  ... 31 more
Caused by: svn: E175002: REPORT request failed on '/svn/!svn/vcc/default'
  at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:208)
  at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:752)
  ... 32 more

0 个答案:

没有答案