http://ns.jenkins.baidu.com/user/anyixing/my-views/view/Map_ut/job/poi-zhunru/

1在http://ns.jenkins.baidu.com/user/anyixing/my-views/view/Map_ut/网站选择新建一个job

2,拷贝一个已存在的任务

3,修改对应的路径(尤其是svn的路径,url的路径)

 Subversion
  Modules
  Repository URL
   
     
  Local module directory (optional)
   
     
  Repository depth option infinity
empty
files
immediates
   
     
  Ignore externals option
   
     
   
Add more locations...
   
 
   
  Check-out Strategy Use 'svn update' as much as possible
Always check out a fresh copy
Emulate clean checkout by first deleting unversioned/ignored files, then 'svn update'
Use svn update as much as possible, with 'svn revert' before update
 
  Use 'svn update' whenever possible, making the build faster. But this causes the artifacts from the previous build to remain when a new build starts.
  源码库浏览器 (自动)
Assembla
CollabNet
FishEye
SVN::Web
Sventon 1.x
Sventon 2.x
ViewSVN
ViewVC
WebSVN
 
  URL
 

修改对应的脚本命令:

Execute shell
     
  Command
 
   
  See the list of available environment variables
 

其中命令是:

source ~/.bash_profile
cd /home/map/.subversion
rm -rf auth
cp -r auth_fan auth

cd /home/map/ci/ut/data/phone-normal
sh -x phone-normal_ut.sh r1143 $SVN_REVISION > /home/map/ci/ut/data/phone-normal/log

修改其中的路径,并且注意最后一条命令中的r1143应当是svn中的四位版本号,版本升级的时候需要注意,新模块可以随便填。

4,[map@cp01-testing-mapse10.cp01.baidu.com data]$ pwd

/home/map/ci/ut/data

在这个目录下,新建一个对应项目的目录,从网页配置上对应的目录中copy一份过来。

修改其中的。Sh文件

MOD=phone-normal

以及命令之后对应的版本号 -v的参数:

scm_autobuild.pl -p=app/search/lbs-data/data-service/$MOD -v=1.0.0 -y 2>&1

 

对应生成的代码路径是在:

/home/map/ut_compile/data/phone-normal/app/search/lbs-data/data-service/phone-normal/cpp/test中

如果需要更新代码,对应的方法是:

在/home/map/ut_compile/data/phone-normal/app/search/lbs-data/data-service/phone-normal/cpp目录下执行svn命令,

svn co https://svn.baidu.com/app/search/lbs-data/trunk/data-service/phone-normal/cpp/test/

可以更新对应的代码

具体查看方法,进入对应的流程,选择html-report,选择cpp,查看函数覆盖率和分支覆盖率

 

最新文章

  1. javascript冒泡排序
  2. ember.js路由无效的解决思路
  3. 【转】我的技术学习方法 — Anytao
  4. MySql存储过程的操作
  5. [转]net中哈希表的使用 Hashtable
  6. 标准IO
  7. UI篇---RadioButton(单选按钮)
  8. Spark 1.60的executor schedule
  9. 186. Reverse Words in a String II
  10. BuguMongo是一个MongoDB Java开发框架,集成了DAO、Query、Lucene、GridFS等功能
  11. Codeforces Beta Round #3 A. Shortest path of the king
  12. POJ 半平面交 模板题 三枚
  13. 漂亮的HTML表格 - ebirdfighter的日志 - 网易博客
  14. WEB前端:浏览器(IE+Chrome+Firefox)常见兼容问题处理--03
  15. [HTML/CSS]colum-gap属性
  16. warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  17. 五、docker网络技术
  18. 防火墙/IDS测试工具Ftester
  19. Windows命令行下如何使用批处理异步打开一个浏览器进程
  20. MongoDB--集群

热门文章

  1. CentOS7创建本地源过程
  2. springboot工程启动时,报错:No bean named 'shiroFilter' available
  3. ubuntu 配置 tftp 服务器
  4. 解决ie低版本不认识html5标签
  5. 1、Java语言概述与开发环境——编译和运行第一个程序HelloWorld.java
  6. 通过编写串口助手工具学习MFC过程——(五)添加CheckBox复选框
  7. Slim Span (最小生成树)
  8. 对Xcode菜单选项的详细探索(来自董铂然的微博http://www.cnblogs.com/dsxniubility/p/4983614.html)
  9. Nginx 详细介绍
  10. SQL Server 批量 删除表索引