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

Jenkins <4> Perforce Plugin

时间:2015-07-24 17:43:17      阅读:136      评论:0      收藏:0      [点我收藏+]

标签:

Jenkins has many plugins to communicate with source code management server. Like CVS, git, perforce etc. My company uses P4 as our source code repository. So let‘s see how Jenkins works with Perforce.

1. Install Perforce Plugin

技术分享

2. In Jenkins-->System configuration --> Perforce


Add P4.exe paths (The perforce application installed path on each node)

技术分享

 

3. In the job configuration page
   a. set the username/password of p4 server.
   b. set the View Map
   c. choose the p4 executable.
   d. Force sync options. (One time or always)
   d. Some other options that you need for your projects (Or leave them blank)

技术分享

 

4. Set the trigger as Poll SCM

技术分享

Jenkins <4> Perforce Plugin

标签:

原文地址:http://www.cnblogs.com/kenfang/p/4673788.html

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