当前位置:网站首页>[CruiseControl]Build Result JSP
[CruiseControl]Build Result JSP
2022-07-28 00:53:00 【51CTO】
One Build Result JSP
Build Result JSP Designed to present CruiseControl Of build loop Result . The left side of the page is about Cruisecontrol Is it build Yours project, It also provides previous build Link to . On the right side of the page is build Result , Including compilation errors , test result , From the last time build List of files modified after .
Build Result JSP Here's the picture :
![[CruiseControl]Build Result JSP_html](/img/80/11c2b539c217ecd6ba55668d3e71e9.png)
Two Build Result JSP How to work
JSP Use custom tag To handle most processes . This makes code and content Separate , Developers only need to modify code Don't care page The design of the , Designers can concentrate on page You don't have to know anything about the layout of Java code. All fonts and colors are used css Documents to control , So that all styles can be easily configured centrally .
JSP Dexter build detail Part of it is right. CruiseControl build loop Of xml log Use xsl After transformation html. JSP The left part is made of CruiseControl Of log In the catalog log The list of files is generated html.JSP Distinguish according to certain naming rules log Of project.JSP adopt build loop Generate specific... At the beginning and end text File to determine the current build Running .
3、 ... and Build Result JSP Configuration of
1)build Parameters ( When installing from source code )
We know build Result JSP The page needs build loop To generate , So if you manually generate from source code JSP when , You need to specify parameters : user.log.dir, user.build.status.file, and cruise.build.artifacts.dir.
2) System attribute
System properties are used in CruiseControl The process and Report application Pass command line parameters between , The following properties :ccname,cruisecontrol.jmxport,cruisecontrol.jmxhost,cruisecontrol.rmiport.
3) To configure web.xml
JSP reporting Program usage context Parameters and servlet Initialize parameters to configure and customize . These parameters can be directly in web.xml Revision in China .
context Parameters :
cacheRoot Specify the directory as xsl Converted cache ,web context You must have write permission to this directory , If not specified , The cache will be saved in logdir A subdirectory called_cache. however binary Installation does not specify this value .logDir Appoint cruisecontrol Of log Catalog . If it's in the single project In mode ,log Will be directly under this directory . If it is more project Pattern , Will be for each project Create your own subdirectories . The default value is build Parameters user.log.dir, But for binary Installed as logs.
singleProject Specify whether cruisecontrol The instance only handles one project. The default is false.
currentBuildStatusFile Appoint currentbuildstatuslistener Generated current build Name of the status file , And the file is located in projects Of log Catalog . By default, this value is build Parameters user.build.status.file Specified value . But for binary Install this value as status.txt.
fileServlet.welcomeFiles When servlet Used when displaying the browsed directory index page , You can specify multiple spaces separated index page , The default is index.htm,index.html.
cruisecontrol.jmxhost Appoint JMX HttpAdaptor Of host.
cruisecontrol.jmxport Appoint JMX HttpAdaptor Of port.
xslt.* Any xslt The initial parameters are passed to xsl stylesheets treat as xslt Parameters .
servlet Parameters :
rootDir Appoint build Of binary/master Absolute path to storage . If not specified logdir Will be used . The default value is build Parameters ,cruise.build.artifacts.dir. however binary Installed as artifacts.
4)xslt Parameters
some xsl stylesheets Can pass xslt Parameters to configure . These parameters are used as context Parameters to transmit , But there are xslt Prefix . For example, parameters xslt.viewcvs.url To configure the viewcvs.url.
pmd.warning.threshold pmd Priority over threshod Will be considered a warning and in build result Number of reports on the page .
viewcvs.url Appoint viewcvs Of url, this url Will be cvstagdiff.xsl, checkstyle-details.xsl and pmd-details.xsl Use , Default does not specify .
cvstagdiff.success.show Designated as build success , whether viewcvs Different reports of should be displayed . Only display by default broken build Modification report .
checkstyle.hide.warnings Specify whether checkstyle Wrong or all checkstyle Errors and warnings should be displayed in build results page . Set to true, Indicates that no warning is displayed , The default is to display all errors and warnings . This default is not specified .
End !
author : iTech
WeChat official account : cicdops
github: https://github.com/cicdops/cicdops
![[CruiseControl]Build Result JSP_xml_02](/img/c6/daead474a64a9a3c86dd140c097be0.jpg)
边栏推荐
- Jerry Zhi has problems in real-time adjustment of sound change effect in magic sound mode [chapter]
- LeetCode 415. 字符串相加 和 43. 字符串相乘
- 加拿大法院认定孟晚舟“双重犯罪”成立,引渡程序将继续进行!
- startUMl
- mysql数据库的基本操作(二)-——基于数据表
- 小程序助力智能家居生态平台
- [meetup preview] openmldb + ONEFLOW: link feature engineering to model training to accelerate machine learning model development
- 2020年一季度可穿戴市场出货量达7260万部,苹果独占近三成市场份额
- MySQL limit usage and large paging problem solving
- Logic of automatic reasoning 09 - automatic theorem proving
猜你喜欢

头补零和尾补零对FFT输出结果的影响
![[leetcode] 547. Number of provinces (medium)](/img/15/d49d18151c47e318fe7acabdd616e6.png)
[leetcode] 547. Number of provinces (medium)

《KMP复习 + AC自动机》前传
![Jerry Zhi doesn't play hidden audio files [article]](/img/09/b9fb293151f56d2a93f8a1c8f3d0dc.png)
Jerry Zhi doesn't play hidden audio files [article]

一文读懂CMake

Matlab | those matlab tips you have to know (2)

Matlab | those matlab tips you have to know (4)

Intel releases open source AI Reference Suite

蓝桥杯单片机第十一届国赛程序设计试题

leetcode:1997. 访问完所有房间的第一天【跳跃dp】
随机推荐
Jerry's Bluetooth can only link back to the last device [article]
Map set
Matlab | those matlab tips you have to know (3)
Set 数据构造函数
加拿大法院认定孟晚舟“双重犯罪”成立,引渡程序将继续进行!
一文读懂CMake
基本初等函数
[CruiseControl]Build Result JSP
Impulse attends the 2022 Forum on safe circulation of data elements Online - a special session in the field of government affairs, and helps the construction and innovative development of big data for
Jerry's prompt sound processing when switching devices [chapter]
一周年创作纪念日,冲吧少年郎
投资80亿!南京华天封测一期项目即将投产!
Arm发布全新A78/G78/N78内核!还有支持自定义的Cortex-X系列CPU
Build Release Blogs
The influence of head zeroing and tail zeroing on FFT output
[proteus simulation] 51 single chip microcomputer washing machine simulation control program
[meetup preview] openmldb + ONEFLOW: link feature engineering to model training to accelerate machine learning model development
Network device hard core technology insider firewall and security gateway (10)
mysql数据库的基本操作(三)-——基于字段
Basic operations of MySQL database (3) --- Based on fields