1<?xml version='1.0' encoding='UTF-8'?>
2<project>
3 <actions/>
4 <description>Test the installed CHART-EPS VAL website and command line tools</description>
5 <keepDependencies>false</keepDependencies>
6 <properties>
7 <hudson.plugins.trac.TracProjectProperty plugin="trac@1.13">
8 <tracWebsite>http://tctrac/projects/chart/</tracWebsite>
9 </hudson.plugins.trac.TracProjectProperty>
10 <hudson.model.ParametersDefinitionProperty>
11 <parameterDefinitions>
12 <hudson.model.BooleanParameterDefinition>
13 <name>WEB</name>
14 <description>Test a web site</description>
15 <defaultValue>true</defaultValue>
16 </hudson.model.BooleanParameterDefinition>
17 <hudson.model.BooleanParameterDefinition>
18 <name>CMD</name>
19 <description>Test command line access</description>
20 <defaultValue>true</defaultValue>
21 </hudson.model.BooleanParameterDefinition>
22 </parameterDefinitions>
23 </hudson.model.ParametersDefinitionProperty>
24 </properties>
25 <scm class="org.jenkinsci.plugins.multiplescms.MultiSCM" plugin="multiple-scms@0.2">
26 <scms>
27 <hudson.plugins.mercurial.MercurialSCM plugin="mercurial@1.44">
28 <source>/tcc1/home/elson/chart</source>
29 <modules></modules>
30 <subdir>chart</subdir>
31 <clean>false</clean>
32 </hudson.plugins.mercurial.MercurialSCM>
33 <hudson.plugins.mercurial.MercurialSCM plugin="mercurial@1.44">
34 <source>/tcc1/home/elson/charteps</source>
35 <modules></modules>
36 <subdir>charteps</subdir>
37 <clean>false</clean>
38 </hudson.plugins.mercurial.MercurialSCM>
39 </scms>
40 </scm>
41 <canRoam>true</canRoam>
42 <disabled>false</disabled>
43 <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
44 <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
45 <triggers class="vector">
46 <hudson.triggers.TimerTrigger>
47 <spec>10 4 * * *</spec>
48 </hudson.triggers.TimerTrigger>
49 </triggers>
50 <concurrentBuild>false</concurrentBuild>
51 <builders>
52 <hudson.tasks.Shell>
53 <command>rm -f nosetests-web.xml
54touch nosetests-web.xml
55if [ "$WEB" = "true" ]; then
56 CHART_SOURCE_BROWSE_URL=http://chart/val/eps/browse/eps/file/tip/charteps/ CHART_WEB="http://chart/val/eps" CHART_SETTINGS_MODULE=charteps.settings PYTHONPATH=$PWD/chart:$PWD/charteps nosetests -v --with-xunit --xunit-file nosetests-web.xml charteps/charteps/tests/install/test_website.py || :
57fi
58</command>
59 </hudson.tasks.Shell>
60 <hudson.tasks.Shell>
61 <command>rm -f nosetests-cmd.xml
62touch nosetests-cmd.xml
63if [ "$CMD" = "true" ]; then
64 PATH=~chartv/charteps/bin:$PATH CHART_SETTINGS_MODULE=charteps.settings PYTHONPATH=$PWD/chart:$PWD/charteps nosetests -v --with-xunit --xunit-file nosetests-cmd.xml charteps/charteps/tests/install/test_cmd.py || :
65fi
66</command>
67 </hudson.tasks.Shell>
68 </builders>
69 <publishers>
70 <hudson.tasks.junit.JUnitResultArchiver>
71 <testResults>nosetests-web.xml,nosetests-cmd.xml</testResults>
72 <keepLongStdio>false</keepLongStdio>
73 <testDataPublishers/>
74 </hudson.tasks.junit.JUnitResultArchiver>
75 </publishers>
76 <buildWrappers>
77 <hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.3.1">
78 <colorMapName>xterm</colorMapName>
79 </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
80 </buildWrappers>
81</project>