码迷,mamicode.com
首页 > 其他好文 > 详细

Jenkins

时间:2018-01-16 12:23:22      阅读:162      评论:0      收藏:0      [点我收藏+]

标签:技术分享   develop   direct   href   main   查看系统   label   cms   com   

 

 

 

1.强制所有用户查看系统的时候,都显示英文

https://stackoverflow.com/questions/12350707/jenkins-in-windows-shows-ui-in-russian-language

首先安装一个叫做 locale 的插件,然后打开系统配置

技术分享图片

技术分享图片

 

 

2.在一个项目中,clone多个repository

https://stackoverflow.com/questions/14843696/checkout-multiple-git-repos-into-same-jenkins-workspace

 

With the Multiple SCMs Plugin:

  • create a different repository entry for each repository you need to checkout (main project or dependancy project.

  • for each project, in the "advanced" menu (the second "advanced" menu, there are two buttons labeled "advanced" for each repository), find the "Local subdirectory for repo (optional)" textfield. You can specify there the subdirectory in the "workspace" directory where you want to copy the project to. You could map the filesystem of my development computer.

The "second advanced menu" doesn‘t exist anymore, instead what needs to be done is use the "Add" button (on the "Additional Behaviours" section), and choose "Check out to a sub-directory"

  • if you are using ant, as now the build.xml file with the build targets in not in the root directory of the workspace but in a subdirectory, you have to reflect that in the "Invoke Ant" configuration. To do that, in "Invoke ant", press "Advanced" and fill the "Build file" input text, including the name of the subdirectory where the build.xml is located.

Hope that helps. 

 

 

 

 

Jenkins

标签:技术分享   develop   direct   href   main   查看系统   label   cms   com   

原文地址:https://www.cnblogs.com/chucklu/p/8295573.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!