简体   繁体   English

Jenkins Continuous Integration Server的作业特定的SVN Checkout文件夹

[英]Job Specific SVN Checkout Folder for Jenkins Continuous Integration Server

I just set up a new Jenkins CI Server. 我刚刚安装了一个新的Jenkins CI服务器。 It is the latest version that I just installed yesterday. 这是我昨天刚安装的最新版本。 I have done several builds that work fine. 我已经完成了几个工作正常的构建。

I have several different repos that it pulls from and builds. 我有几个不同的回购,它可以从中构建。 Most of them are for things like .NET projects that are easy to build anywhere, so they just get checked out and built in the workspace folder. 它们大多数用于易于在任何地方构建的.NET项目之类的东西,因此只需将它们检出并构建在工作区文件夹中即可。

I have one older project, however, that has a lot of hard coded paths and the system used to build it is a big pain to change that. 但是,我有一个较旧的项目,它具有很多硬编码的路径,而用于构建它的系统很难改变它。 For this reason it needs to live specifically in C:\\dev\\ProjectName. 因此,它需要专门位于C:\\ dev \\ ProjectName中。

This project uses SVN as the source control. 该项目使用SVN作为源控件。

Is there a way to configure this one job in Jenkins to point to that specific path as the checkout and build folder? 有没有一种方法可以在Jenkins中配置此作业,使其指向该特定路径作为checkout和build文件夹?

To choose a specific build workspace you can use 'Use custom workspace' option in General Section (you need to click 'Advanced' button to see this option): 要选择特定的构建工作空间,可以在“常规”部分中使用“使用自定义工作空间”选项(您需要单击“高级”按钮才能看到此选项): 在此处输入图片说明

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

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