
配置管理
ace_fei
调试的错误就是编程给你最好的东西,因为在每个错误上面都标志着前进的一步。
展开
-
clearcase报错
<br /> 在clearcase中co一个文件报错:<br /> cleartool: Error: Checked out version, but could not copy data to "run_ut.sh" in view:权限不够.<br /> Correct the condition, then uncheckout and re-checkout the element.<br /> cleartool: Error: Unable to check out "run_ut.原创 2011-03-11 10:05:00 · 1391 阅读 · 0 评论 -
解决jenkins节点Disk space is too low
当jenkins master报Disk space is too low. Only xxxxGB left on /tmp的时候,master就会断掉。解决方法:http://xxx.xxx.xxx.xxx:8080/computer/configure里面设置一下Free Space Threshold就好了。原创 2012-09-12 16:02:53 · 7156 阅读 · 1 评论 -
Jenkins Xvnc报错
[Host_Regression_easytest] $ vncserver :62You will require a password to access your desktops.getpassword error: Invalid argumentPassword:FATAL: Failed to run 'vncserver :62' (exit code 1), black原创 2013-02-05 16:55:43 · 1603 阅读 · 0 评论 -
jenkins上找不到trigger build remotely选项
这是因为jenkins服务器上没有启用鉴权,需要去系统设置里Enable security 如果公司是用的域账户登陆windows的话,推荐一个插件 Jenkins Active Directory plugin,这样就可以用域账户密码来登陆jenkins了。原创 2013-06-20 16:16:44 · 2235 阅读 · 0 评论 -
关闭SUSE上的防火墙
最近在搞SCTP测试,发现我的原创 2014-04-29 10:42:49 · 7890 阅读 · 0 评论 -
关于jenkins更新后, job description只显示html代码的问题
相信很多人jenkins 在更新1.553. This entry from the changelog looks suspicious:Split the “raw HTML” markup formatter out of core into a bundled plugin.原创 2014-09-15 14:34:54 · 5114 阅读 · 1 评论 -
Coverity的安装使用及常见错误
从Coverity 5.5开始就需要安装两套工具:Coverity® 5.5.3 Integrity Manager ----GUICoverity® 5.5.3 Static Analysis --- CLI Coverity® 5.5.3 Integrity Manager的安装Where should Coverity Integrity Manager原创 2012-11-27 11:28:06 · 19254 阅读 · 15 评论 -
常用ClearCase命令 <持续更新>
1.最基本的操作cleartool co -nc xxx.cpp 检出文件xxx.cppcleartool ci -nc xxx.cpp 检入文件 xxx.cpp//checkin当前目录下所有的文件cleartool ci -nc `cleartool lsco -s -r -me`//如果是ucm模式可以用cleartool ci -nc -cact2.查看自己总共原创 2011-03-21 12:38:00 · 14233 阅读 · 0 评论 -
使用ssh端口映射
由于最新项目里需要用到虚拟机,但是我们每次访问都要一台机器原创 2014-09-16 16:42:04 · 1722 阅读 · 0 评论 -
Remote Windows®-command executor for Linux
Winexe Remote Windows®-command executor http://sourceforge.net/p/winexe/winexe-waf/ci/master/tree/翻译 2015-11-19 13:37:58 · 420 阅读 · 0 评论 -
Jenkins启动用户鉴权
Either Jenkins needs to run as root or User‘jenkins’ needs to belong to group root and ‘chmod g+r /etc/shadow’ needs to bedone to enable Jenkins to read /etc/shadow原创 2015-11-30 08:41:31 · 1743 阅读 · 0 评论 -
自定义jenkins主题
之前有段时间用过华为的ICP-CI,发现它其实就是给CruiseControl换了个皮肤。 现在转向jenkins阵营,它提供了源码,有很多人通过修改源码的办法去定制过自己的jenkins。不过这个方法,在升级后又得重新修改文件。 所以,今天我想介绍一个插件Simple Theme Plugin,它支持自定义CSS和JavaScript。 通过它来修改jenkins主原创 2012-05-22 13:53:59 · 11066 阅读 · 2 评论 -
学习GIT
使用心得使用git commit -a 之前,先git status查看有没有误改的文件,如果有使用以下方式回退代码git reset --hard HEAD, 这条件命令会把你工作目录中所有未提交的内容清空如果只想恢复某一个文件,使用git checkout -- git commit 之后,如果想撤回,请参考本文后面的《版本回退命令的区别》git push之前需要做一次gi原创 2015-12-04 20:29:01 · 550 阅读 · 0 评论 -
Practice In Python UT & Coverage
Practice In Python UT & CoveragePython unittestBelow is my python unittest template:import unittestimport osimport stringfrom random import samplefrom mock.mock import patch#mock toggle mock_flag原创 2016-01-13 16:29:06 · 1243 阅读 · 0 评论 -
使用自定义用户登陆Vagrant box
使用过vagrant的人都知道,vagrant up后就可以使用vagrant ssh免密码登陆box了。 其实vagrant ssh也可以分解成两步# save the config to a filevagrant ssh-config > vagrant-ssh# run ssh with the file.ssh -F vagrant-ssh default通过查看 vagrant s原创 2017-04-07 17:40:01 · 5106 阅读 · 0 评论 -
在linux上安装hudson的服务
#!/bin/bash COMMAND=$1 export JENKINS_HOME=/home/fesu/jenkinsJENKINS_OPT="-Xms256m -Xmx512m"procedure=`basename $0`[ $# -ne 1 ] && { echo "Usage: $procedure "; exit 1; } case $COMMAND i原创 2011-09-29 16:12:07 · 3090 阅读 · 0 评论 -
推荐一个网站,碰到jenkins相关的问题,可以上去查查
很多人接触jenkins不久,可能会遇到很多问题。这里我推荐个网站,很多常见问题可以在上面找到答案。也可以注册一个用户在上面提问。http://jenkins.361315.n4.nabble.com/Jenkins-issues-f395223.html原创 2012-07-17 10:26:39 · 791 阅读 · 0 评论 -
拷贝Config-Spec
工作中经常新建一个view,需要拷贝其他view的Config-Spec。 可以通过cleartool edcs来编辑Config-Spec。 我们还可以用: 1.cleartool catcs -tag [old-view] > xxx.cs cleartool setcs -tag [new-view] xxx.cs 2.进入新的view中,cleartool edcs :-r xxx.cs原创 2011-03-11 12:33:00 · 1334 阅读 · 3 评论 -
Clearcase Command Reference for config_spec
<br />转自:http://publib.boulder.ibm.com/infocenter/cchelp/v7r0m0/index.jsp?topic=/com.ibm.rational.clearcase.cc_ref.doc/topics/config_spec.htm<br /> config_spec<br />Rules for selecting versions of elementsto appear in a viewParent topic:General inform转载 2011-05-11 09:23:00 · 2799 阅读 · 0 评论 -
Can't match key hostname in map hosts.byname. Reason: No such key in map
这个是执行yamatch `hostname` hosts之后报错。应该跟nis有关,需要看看那方面的知识了。$ypcat -xUse "ethers" for map "ethers.byname"Use "aliases" for map "mail.a原创 2011-08-08 17:08:07 · 1137 阅读 · 0 评论 -
【clearmake】Starting a parallel build
1. Set the CCASE_HOST_TYPE variable. The value of this variable determines which build hosts file that clearmake looks for in your home dire转载 2011-09-20 10:10:14 · 1414 阅读 · 0 评论 -
clearmake设置分布式编译环境
man clearmake一下, 找到 -B bldhost-file Uses bldhost-file as the build hosts file for a parallel build. If you原创 2011-07-26 16:54:45 · 1159 阅读 · 0 评论 -
在hudson上配置Base ClearCase
我想将服务器上已创建好的view,配置到hudson上跑dailybuild,但是每次view都会被hudson删除,后来发现advanced 里面有两个关键地方,勾选后问题就解决了。原创 2011-10-31 17:34:45 · 1391 阅读 · 2 评论 -
去哪学习使用Git版本控制系统
Pro Git 中文版:http://progit.org/book/zh/Git Magic中文版:http://www-cs-students.stanford.edu/~blynn/gitmagic/intl/zh_cn/Git Reference英文版:http://gitref.org/Git Documentation英文版: http://git-scm.co原创 2012-02-18 20:47:18 · 868 阅读 · 0 评论 -
用curl在命令行上操作hudson
最近项目组想基于hudson(现在改名jenkins了,但是我还是喜欢hudson这个名字)开发一套Auto UT的工具,可以通过命令行指令来对hudson上的UT jobs进行操作。本想借鉴一下UK那边项目组开发的hudson的perl包,但是其内部实现太过复杂,很多功能我们都用不上,于是只能自己琢磨了。后来在https://wiki.jenkins-ci.org/display/JENKINS原创 2011-09-30 14:30:17 · 5261 阅读 · 0 评论 -
【clearcase】如何在自己的开发分支上新增文件
大家应该都知道在clearcase上新增文件是通过以下过程来生成的:cleartool co -nc .cleartool mkelem -nc -nco new_filecleartool ci -nc .但是如果你在自己的开发分支上做以上操作就可能报错。$ct mkelem -nc newfileCreated element "newfile" (type "原创 2012-05-03 14:24:43 · 2847 阅读 · 0 评论 -
nslookup工具的使用方法
配置好DNS服务器,添加了相应的记录之后,只要IP地址保持不变,一般情况下我们就不再需要去维护DNS的数据文件了。不过在确认域名解释正常之前我们最好是测试一下所有的配置是否正常。许多人会简单地使用ping命令检查一下就算了。不过Ping指令只是一个检查网络联通情况的命令,虽然在输入的参数是域名的情况下会通过DNS进行查询,但是它只能查询A类型和CNAME类型的记录,而且只会告诉你域名是否存在,其他转载 2012-05-08 13:45:01 · 657 阅读 · 0 评论 -
clearcase推荐资源
我最常用的:https://publib.boulder.ibm.com/infocenter/cchelp/v7r1m0/index.jspClearCase Data sheet,相当于产品的介绍,宣传手册,到这里下:ftp://ftp.software.ibm.com/software/rational/web/datasheets/clearcase.pdfclearcas转载 2011-09-20 15:09:45 · 989 阅读 · 0 评论 -
使用email-ext替换Jenkins(Hudson)的默认邮件通知
转自:http://www.juvenxu.com/2011/05/18/hudson-email-ext/简述众所周知,Jenkins(Hudson)默认提供了一个邮件通知,能在构建失败、构建不稳定等状态后发送邮件。但是它本身有很多局限性,比如它的邮件通知无法提供详细的邮件内容、无法定义发送邮件的格式、无法定义灵活的邮件接收配置等等。在这样的情况下,我们找到了Jenkin转载 2012-07-17 16:33:27 · 2428 阅读 · 0 评论 -
博客迁移至github pages
优快云早已变味,以后新文章,请到https://acefei.github.io/上浏览! 如有任何问题,可以在acefei’ lobby上一起交流学习。原创 2017-11-21 17:19:03 · 691 阅读 · 0 评论