1

我们有 3 个环境 - 开发、登台、生产

我想通过 svn 标记一个构建 - dev1,我希望 jenkins 签出 dev1 的代码。在此之后,当这个 dev1 被测试 n 错误被修复时,我会将构建标记为 prod_release_date。现在在这里我将再次进行构建并将其推送到生产服务器。

我的问题是 - 如何让詹金斯结帐并基于标签构建?在我想要的构建之后有更新的签入(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
4

0 回答 0