简体   繁体   English

在Jenkins管道脚本中签出子文件夹时,缺少SVN外部组件

[英]SVN externals are missing when checking out subfolder in Jenkins pipeline script

I have a svn repo where I want to checkout from a subfolder which has inherited svn externals properties from its parent folder. 我有一个svn存储库,我想从一个子文件夹中检出该子文件夹,该子文件夹已从其父文件夹继承了svn externals属性。 When doing the checkout from the top folder everything from the svn externals got checked out but when checking out only the subfolder these are missing. 从顶部文件夹中签出时,svn外部的所有内容都被签出,但仅签出子文件夹时,这些都丢失了。 I am using SubversionSCM. 我正在使用SubversionSCM。

Is there any option I could add so that properties from a parent folder is checked in my pipeline script? 我可以添加任何选项以便在管道脚本中检查父文件夹的属性吗?

I can only think about a scripting solution. 我只能考虑脚本解决方案。 You can just check multiple repositories for triggering the build but do not checkout anything. 您可以仅检查多个存储库以触发构建,而无需检出任何内容。

Inside your "build script" you could do the actual checkout of all the repositories you need. 在“构建脚本”中,您可以对所需的所有存储库进行实际签出。

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

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