Jenkins Continuous Integration Server的作业特定的SVN Checkout文件夹 [英] Job Specific SVN Checkout Folder for Jenkins Continuous Integration Server

查看:123
本文介绍了Jenkins Continuous Integration Server的作业特定的SVN Checkout文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚设置了一个新的Jenkins CI服务器.这是我昨天刚安装的最新版本.我已经完成了几个工作正常的构建.

I just set up a new Jenkins CI Server. It is the latest version that I just installed yesterday. I have done several builds that work fine.

我有几个不同的回购协议,可以从中提取和构建.它们中的大多数用于易于在任何地方构建的.NET项目之类的东西,因此只需将它们检出并构建在工作区文件夹中即可.

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.

但是,我有一个较旧的项目,它具有许多硬编码的路径,而用于构建它的系统很难改变它.因此,它需要专门位于C:\ dev \ ProjectName中.

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.

该项目使用SVN作为源控件.

This project uses SVN as the source control.

是否可以在Jenkins中配置此作业以指向该特定路径作为checkout和build文件夹?

Is there a way to configure this one job in Jenkins to point to that specific path as the checkout and build folder?

推荐答案

要选择特定的构建工作空间,可以在常规"部分中使用使用自定义工作空间"选项(您需要单击高级"按钮才能看到此选项):

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):

这篇关于Jenkins Continuous Integration Server的作业特定的SVN Checkout文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆