w1100n
This site is best viewed in Google Chrome
9/4/2013 19:37

可用令牌 ${BUILD_LOG, maxLines, escapeHtml} –显示最终构建日志。 maxLines – 显示该日志最多显示的行数,默认250行。 escapeHtml -如果为true,格式化HTML。默认false。 ${BUILD_LOG_REGEX, regex, linesBefore, linesAfter, maxMatches,showTruncatedLines, substText, escapeHtml, matchedLineHtmlStyle} –按正则表达式匹配显示构建日志的行数。 匹配符合该正则表达式的行数。参阅java.util.regex.Pattern,默认“(?i)b(error|exception|fatal|fail(ed|ure)|un(defined|resolved))b”。 linesBefore -包含在匹配行之前的行编号。行数会与当前的另一个行匹配或者linesAfter重叠,默认0。 linesAfter -包含在匹配行之后的行编号。行数会与当前的另一个行匹配或者linesBefore重叠,默认0。 maxMatches -匹配的最大数量,如果为0,则包含所有匹配。默认为0。 showTruncatedLines -如果为true,包含[…truncated ### lines…]行。默认为true。 substText -如果非空,把这部分文字插入该邮件,而不是整行。默认为空。 escapeHtml -如果为true,格式化HTML。默认false。 matchedLineHtmlStyle -如果非空,输出HTML。匹配的行数将变为<b style=”your-style-value”> html escaped matched line </b>格式。默认为空。 ${BUILD_NUMBER} –显示当前构建的编号。 ${BUILD_STATUS} –显示当前构建的状态(失败、成功等等) ${BUILD_URL} –显示当前构建的URL地址。 ${CHANGES, showPaths, format, pathFormat} –显示上一次构建之后的变化。 showPaths – 如果为 true,显示提交修改后的地址。默认false。 format – 遍历提交信息,一个包含%X的字符串,其中%a表示作者,%d表示日期,%m表示消息,%p表示路径,%r表示版本。注意,并不是所有的版本系统都支持%d和%r。如果指定showPaths将被忽略。默认“[%a] %mn”。 pathFormat -一个包含“%p”的字符串,用来标示怎么打印字符串。 ${CHANGES_SINCE_LAST_SUCCESS, reverse, format, showPaths, changesFormat,pathFormat} … Continue reading

2/19/2013 9:50

Jenkins uses the System Admin e-mail address as the sender address for e-mail notification. You can configure this under Manage Jenkins -> Configure System. This is under the Jenkins Location header on that page http://stackoverflow.com/questions/9693526/how-can-i-set-the-senders-address-in-jenkins

2/17/2013 13:54 | Tag:

add environment variable JENKINS_HOME=d:/opt/jenkins download tomcat copy jenkins to folder webapp update server.xml in TOMCAT_HOME/conf, for vss integration  install vss plugin for Jenkins, the name is Visual SourceSafe Plugin create new job select Visual Source Safe in Source Code Management config vss plugin … Continue reading

9/30/2011 6:56 | Tag:

download jenkins.war; http://mirrors.jenkins-ci.org/war/1.432/ deploy the war to jboss(version:4.0.5.GA) or tomcat start jboss open url http://localhost:8080/jenkins navigate to  Manage Jenkins>Configure system configure name and path for maven go to jenkins > manage jenkins> manage plugins>advanced configure proxy (optional) click “choose file” to upload … Continue reading

9/27/2011 14:37 | Tag:,

http://www.danstraw.com/triggering-a-hudson-build-to-run-when-git-is-updated/2010/11/23/ — Hudson CI lets you configure a build so that it periodically polls git to check whether anything’s changed. This is something of a waste of time & resources – it’s polling git when nothing has changed and there … Continue reading

9/26/2011 15:22 | Tag:,

Your container doesn’t use UTF-8 to decode URLs. If you use non-ASCII characters as a job name etc, this will cause problems. See Containers and Tomcat i18n for more details. Some versions of Tomcat (such as 5.0.28) uses iso-8859-1 to … Continue reading

9/26/2011 3:42 | Tag:

download and copy jboss to /home/wyue/program/jboss-4.0.5-GA download hudson and copy the war to /home/wyue/program/jboss-4.0.5.GA/server/default/deploy/ update /home/wyue/program/jboss-4.0.5.GA/server/default/deploy/jbossweb-tomcat55.sar/server.xml; add i18n config. #start jboss #open a browser … http://localhots:xxxx/hudson-2.1.1 … #go to Hudson>Manage Hudson>Configure System [JDK] input a jdk name :jdk1.6 input JAVA_HOME:/usr/java/jdk1.6.0_21 … Continue reading

9/23/2011 7:31 | Tag:

download hundson from http://hudson-ci.org/ download jboss. download UnxUtils.zip from http://code.google.com/p/gears/downloads/detail?name=UnxUtils.zip&can=2&q= extract UnxUtils to a folder D:programUnxUtils add path D:programUnxUtilsusrlocalwbin to system evn PATH copy tomcat to D:programapache-tomcat-7.0.21 update file D:programapache-tomcat-7.0.21confserver.xml, add URIEncoding=”UTF-8″ in section ..connector port… as a attribute. put … Continue reading

辽ICP备14012896