Job Specific SVN Checkout Folder for Jenkins Continuous Integration Server

自闭症网瘾萝莉.ら 提交于 2020-01-22 03:36:47

问题


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.

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.

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.

This project uses SVN as the source control.

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


回答1:


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



来源:https://stackoverflow.com/questions/54115904/job-specific-svn-checkout-folder-for-jenkins-continuous-integration-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!