blob: 78da0a402179bc145e8b97a0b1eee532385fd4e5 [file] [log] [blame]
david_williams597c6352008-12-07 01:54:10 +00001<!DOCTYPE web-app
2PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
3"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
4
5<!--********************************************************************************
6* CruiseControl, a Continuous Integration Toolkit
7* Copyright (c) 2001, ThoughtWorks, Inc.
8* 200 E. Randolph, 25th Floor
9* Chicago, IL 60601 USA
10* All rights reserved.
11*
12* Redistribution and use in source and binary forms, with or without
13* modification, are permitted provided that the following conditions
14* are met:
15*
16* + Redistributions of source code must retain the above copyright
17* notice, this list of conditions and the following disclaimer.
18*
19* + Redistributions in binary form must reproduce the above
20* copyright notice, this list of conditions and the following
21* disclaimer in the documentation and/or other materials provided
22* with the distribution.
23*
24* + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
25* names of its contributors may be used to endorse or promote
26* products derived from this software without specific prior
27* written permission.
28*
29* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
30* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
31* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
32* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
33* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
34* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
35* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
36* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
37* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
38* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
39* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40********************************************************************************-->
41<web-app>
42 <display-name>CruiseControl Reporting App</display-name>
43 <description>The reporting application for CruiseControl. Provides a simple but rich
44 interface for viewing CruiseControl build reports.
45 </description>
46
47 <context-param>
48 <param-name>singleProject</param-name>
49 <param-value>false</param-value>
50 <description>Indicates if the CruiseControl instance is to report on only one project.
51 If it is, then you should set this to true.
52 </description>
53 </context-param>
54
55 <context-param>
56 <param-name>cacheRoot</param-name>
57 <param-value>/shared/webtools/logcache</param-value>
58 <description>Full path to a directory where caches of XSL transformations are written.
59 The web context must have permission to write to this directory. If not
60 specified, caches will be written in a subdir called _cache of the logDir.
61 </description>
62 </context-param>
63
64 <context-param>
65 <!-- You can set this value via the user.log.dir property in Ant, when building the WAR file. -->
66 <param-name>logDir</param-name>
67 <param-value>/shared/webtools/logs</param-value>
68 <description> This should be the full path to your CruiseControl log directory. If you
69 are in single project mode, this will contain only the logs for your project. If you
70 are in multi-project mode, it is expected that you will have multiple sub-directories
71 inside this log directory, one for each project.
72 </description>
73 </context-param>
74
75 <context-param>
76 <!-- You can set this value via the user.build.status.file property in Ant, when building the WAR file. -->
77 <param-name>currentBuildStatusFile</param-name>
78 <param-value>status.txt</param-value>
79 <description>This should be the path to your current build status file, which is relative
80 to the log directory (or, in single-project mode, relative to the project's log
81 directory)
82 </description>
83 </context-param>
84
85 <context-param>
86 <param-name>fileServlet.welcomeFiles</param-name>
87 <param-value>index.htm index.html</param-value>
88 <description>The list of space separated index files that should be automatically displayed
89 when browsing a directory displayed by the file servlet. The order matters.
90 Let empty or comment out to disable indexes.
91 </description>
92 </context-param>
93
94 <context-param>
95 <param-name>cruisecontrol.jmxport</param-name>
96 <param-value>7000</param-value>
97 <description>The port on which CruiseControl will connect to the JMX HttpAdaptor to "force" builds or view the
98 control panel. This value can be overriden using an environment variable with the same name.
99 </description>
100 </context-param>
101
102 <context-param>
103 <param-name>cruisecontrol.jmxhost</param-name>
104 <param-value>206.191.52.34</param-value>
105 <description>If your server doesn't know it's own proper IP address or it's name isn't resolvable by other machines on the network, set the IP address or resolvable name here. This will enable things like the "Force Builds" button to work.
106 </description>
107 </context-param>
108
109 <!--
110 <context-param>
111 <param-name>xslt.pmd.warning.threshold</param-name>
112 <param-value>3</param-value>
113 <description>PMD violations with a priority below this threshold are considered warnings and
114 are only reported by the total count on the build results page.
115 </description>
116 </context-param>
117 -->
118
david_williams0f584412008-12-07 02:06:50 +0000119 <!--
david_williams597c6352008-12-07 01:54:10 +0000120 <context-param>
121 <param-name>xslt.viewcvs.url</param-name>
david_williams0f584412008-12-07 02:06:50 +0000122 <param-value>http://cvs.sourceforge.net/viewcvs.py/cruisecontrol</param-value>
david_williams597c6352008-12-07 01:54:10 +0000123 <description>The URL of the ViewCVS website used by cvstagdiff.xsl, checkstyle-details.xsl
124 and pmd-details.xsl
125 </description>
126 </context-param>
david_williams0f584412008-12-07 02:06:50 +0000127 -->
david_williams597c6352008-12-07 01:54:10 +0000128
129 <context-param>
130 <param-name>xslt.cvstagdiff.success.show</param-name>
131 <param-value>true</param-value>
132 <description>Controls whether the ViewCVS differences report should be shown when the build
133 was successful. The default is to only show the modifications report for broken builds
134 </description>
135 </context-param>
136
137 <!--
138 <context-param>
139 <param-name>xslt.checkstyle.hide.warnings</param-name>
140 <param-value>true</param-value>
141 <description>Controls whether only CheckStyle errors or all CheckStyle errors and warnings
142 should be listed on the build results page. Set to 'true' for hiding the warnings. The
143 default is to list all errors and warnings
144 </description>
145 </context-param>
146 -->
147
148 <servlet>
149 <servlet-name>buildresults</servlet-name>
150 <display-name>Build Result Reporter</display-name>
151 <description>Presents build results in a human-readable and intuitive format.</description>
152 <jsp-file>/main.jsp</jsp-file>
153 </servlet>
154
155 <servlet>
156 <servlet-name>rss</servlet-name>
157 <display-name>Build Result RSS Feed</display-name>
158 <description>Presents build results in the RSS XML format.</description>
159 <jsp-file>/rss.jsp</jsp-file>
160 </servlet>
161
162 <servlet>
163 <servlet-name>index</servlet-name>
164 <display-name>Index/Summary page</display-name>
165 <description>Presents a summary of all projects, allowing easy navigation to each.</description>
166 <jsp-file>/index.jsp</jsp-file>
167 </servlet>
168
169 <servlet>
170 <servlet-name>ArtifactServlet</servlet-name>
171 <servlet-class>net.sourceforge.cruisecontrol.servlet.FileServlet</servlet-class>
172 <init-param>
173 <param-name>rootDir</param-name>
david_williams0f584412008-12-07 02:06:50 +0000174 <param-value>committers</param-value>
david_williams597c6352008-12-07 01:54:10 +0000175 </init-param>
176 </servlet>
177
178 <servlet>
179 <servlet-name>XmlServlet</servlet-name>
180 <servlet-class>net.sourceforge.cruisecontrol.servlet.XmlServlet</servlet-class>
181 </servlet>
182
183 <servlet>
184 <servlet-name>LogServlet</servlet-name>
185 <servlet-class>net.sourceforge.cruisecontrol.servlet.LogFileServlet</servlet-class>
186 </servlet>
187
188 <servlet>
189 <servlet-name>webwork</servlet-name>
190 <servlet-class>com.opensymphony.webwork.dispatcher.ServletDispatcher</servlet-class>
191 </servlet>
192
193 <servlet>
194 <servlet-name>config</servlet-name>
195 <display-name>Project configuration UI</display-name>
196 <description>Wraps webwork configuration actions inside main page.</description>
197 <jsp-file>/main.jsp</jsp-file>
198 </servlet>
199
200 <!-- Used for charting...
201 <servlet>
202 <servlet-name>CewolfServlet</servlet-name>
203 <servlet-class>de.laures.cewolf.CewolfRenderer</servlet-class>
204 </servlet>
205
206 <servlet-mapping>
207 <servlet-name>CewolfServlet</servlet-name>
208 <url-pattern>/cewolf/*</url-pattern>
209 </servlet-mapping>
210 -->
211 <servlet-mapping>
212 <servlet-name>LogServlet</servlet-name>
213 <url-pattern>/logs/*</url-pattern>
214 </servlet-mapping>
215
216 <servlet-mapping>
217 <servlet-name>ArtifactServlet</servlet-name>
218 <url-pattern>/committers/*</url-pattern>
219 </servlet-mapping>
220
221 <servlet-mapping>
222 <servlet-name>buildresults</servlet-name>
223 <!-- Strictly speaking, this should be /buildresults for single-project mode. But it works anyway. -->
224 <url-pattern>/buildresults/*</url-pattern>
225 </servlet-mapping>
226
227 <servlet-mapping>
228 <servlet-name>webwork</servlet-name>
229 <url-pattern>*.jspa</url-pattern>
230 </servlet-mapping>
231
232 <servlet-mapping>
233 <servlet-name>config</servlet-name>
234 <url-pattern>/config/*</url-pattern>
235 </servlet-mapping>
236
237 <servlet-mapping>
238 <servlet-name>rss</servlet-name>
239 <url-pattern>/rss/*</url-pattern>
240 </servlet-mapping>
241
242 <servlet-mapping>
243 <servlet-name>XmlServlet</servlet-name>
244 <url-pattern>/xml/*</url-pattern>
245 </servlet-mapping>
246
247 <servlet-mapping>
248 <servlet-name>index</servlet-name>
249 <url-pattern>/index</url-pattern>
250 </servlet-mapping>
251
252 <welcome-file-list>
253 <welcome-file>index.jsp</welcome-file>
254 </welcome-file-list>
255</web-app>