简体   繁体   English

在同一工作空间上并发SVN更新

[英]Concurrent SVN updates on the same workspace

In my company we use Jenkins to build our C++ applications. 在我公司中,我们使用Jenkins来构建C ++应用程序。 As the projects are strongly interconnected and we use a hierarchical make structure, we check out the whole source code as one big workspace. 由于项目之间相互联系紧密,并且我们使用分层的结构,因此我们将整个源代码作为一个大工作区进行签出。

We then use different Jenkins projects that do updates on different subfolders of the same workspace before building and sometimes the projects are built at the same time. 然后,我们使用不同的Jenkins项目,这些项目在构建之前会在同一工作空间的不同子文件夹上进行更新,有时还会在同一时间构建这些项目。 With Subversion 1.6 that worked without problems, however with Subversion 1.7 we often get the following errors: 使用Subversion 1.6可以正常工作,但是对于Subversion 1.7,我们经常会遇到以下错误:

Workspace appear to be locked, so getting a fresh workspace 工作空间似乎被锁定,因此获得了新的工作空间

I think it's because subversion 1.7 locks the whole workspace if an update is running (and 1.6 only locked the concerned subfolder). 我认为这是因为Subversion 1.7在运行更新时锁定了整个工作区(而1.6仅锁定了相关的子文件夹)。

Is there a way to do an SVN update without locking the subversion workspace in Subversion 1.7 ? 有没有一种方法可以在不锁定Subversion 1.7中的Subversion工作空间的情况下进行SVN更新? Best regards. 最好的祝福。

不。我认为您将必须拥有一个詹金斯(Jenkins)作业,该作业可以更新所有项目的工作区,然后生成可以同时构建的其他作业-但不更新工作副本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM