博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页

2013年5月16日

摘要: Need to be able to declare minimum, maximum allowed versions of a dependency (both min and max may be optional), and allow "holes" for known incompatible versions.Proposed syntax:RangeMeaning(,1.0]x <= 1.01.0"Soft" requirement on 1.0 (just a recommendation - helps select the c 阅读全文

posted @ 2013-05-16 17:51 Bruce Zhang 阅读(187) 评论(0) 推荐(0) 编辑

2013年5月15日

摘要: (1)饼图乱码解决方式:yum -y install fonts-chinese fonts-ISO8859*service jira stopservice jira start(2)工作流乱码解决方式:cp /usr/share/fonts/chinese/TrueType/*.ttf /opt/atlassian/jira/jre/lib/fonts/ (拷贝字体文件到JRE)rm -rf /var/atlassian/application-data/jira/caches/workflowimages (清空缓存)service jira stopservice ... 阅读全文

posted @ 2013-05-15 16:04 Bruce Zhang 阅读(2251) 评论(0) 推荐(0) 编辑

2013年4月28日

摘要: 1.bash: /usr/bin/zip: Argument list too long$ pwd /home/my/$ lstobeziped$ zip -r tobeziped.zip ./tobeziped/*报错:bash: /usr/bin/zip: Argument list too long,表示文件数量太多。即使换成tar也报同样的错解决方式:find ./tobeziped/ -name '*' -print | zip tobeziped.zip -@2. bash: /bin/rm: Argument list too long$ cd /tmp$ rm 阅读全文

posted @ 2013-04-28 08:05 Bruce Zhang 阅读(3158) 评论(0) 推荐(0) 编辑

2013年4月27日

摘要: 官方文档参照:http://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/Before You BeginReview Board is provided as downloadable packages throughPython setuptools. The easy part is installing Review Board itself. The harder part is installing some of the dependencies, which we have less control o 阅读全文

posted @ 2013-04-27 18:00 Bruce Zhang 阅读(2758) 评论(0) 推荐(0) 编辑

2013年4月24日

摘要: NR: Numner of Record 所有文件行累计数FNR: File Numner of Record 单个文件行累计数NF: Number of Field 字段数RS:Record Separator记录行分隔符ORS:Output Record Separate 输出行分隔符FS:Field Separator字段分隔符OFS:Out of Field Separator输出的字段分隔符NR表示从awk开始执行后,按照记录分隔符读取的数据次数,默认的记录分隔符为换行符,因此默认的就是读取的数据行数,NR可以理解为Number of Record的缩写。 在awk处理多个输入文件. 阅读全文

posted @ 2013-04-24 18:56 Bruce Zhang 阅读(588) 评论(0) 推荐(0) 编辑

摘要: 参照:http://www.linuxsong.org/2010/09/shell-column-sum/在Shell中,我们可以用awk实现按列求和的功能,非常简单。看下面的例子:1.简单的按列求和[linux@test /tmp]$ cat test123.52125.54126.36[linux@test /tmp]$ awk '{sum += $1};END {print sum}' test375.422.对符合某些条件的行,按列求和[linux@test /tmp]$ cat testaaa 123.52bbb 125.54aaa 123.52aaa 123.52c 阅读全文

posted @ 2013-04-24 18:48 Bruce Zhang 阅读(4077) 评论(0) 推荐(1) 编辑

2013年4月22日

摘要: Build User Vars Plugin:(提供一些Jenkins JOB Build的环境变量,参照:https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin)BUILD_USER – full name of user started build,BUILD_USER_FIRST_NAME – first name of user started build,BUILD_USER_LAST_NAME – last name of user started build,BUILD_USER_ID – id of 阅读全文

posted @ 2013-04-22 10:07 Bruce Zhang 阅读(430) 评论(0) 推荐(0) 编辑

2013年4月19日

摘要: 看了一下源码,大致过程是:hudson.cli.CLI._main(String[] _args) hudson.cli.CliManagerImpl.main(List<String> args, Locale locale, InputStream stdin, OutputStream stdout, OutputStream stderr) hudson.cli.CLICommand.main(List<String> args, Locale locale, InputStream stdin, PrintStream stdout, PrintStream 阅读全文

posted @ 2013-04-19 16:02 Bruce Zhang 阅读(416) 评论(0) 推荐(0) 编辑

摘要: 通常,我们都是在Jenkins安装完成后,从系统提供的地址下载jenkins-cli.jar,用以运行CLI脚本:Step1: 下载完成后,发现jenkins-cli也是一个单独的maven模块: <modelVersion>4.0.0</modelVersion> <parent> <artifactId>pom</artifactId> <groupId>org.jenkins-ci.main</groupId> <version>1.510</version> </paren 阅读全文

posted @ 2013-04-19 15:00 Bruce Zhang 阅读(962) 评论(0) 推荐(0) 编辑

摘要: 官方文档参照:https://wiki.jenkins-ci.org/display/JENKINS/Writing+CLI+commandsPlugins can contribute additional commands toJenkins CLIwhich, since Jenkins 1.445, will also be available viaJenkins SSH.This is useful for (1) exposing administrative commands to admins, so that they can script some of the Jenk 阅读全文

posted @ 2013-04-19 14:42 Bruce Zhang 阅读(707) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 13 下一页