1<?xml version='1.0' encoding='UTF-8'?>
 2<project>
 3  <actions/>
 4  <description>Test the installed CHART-MSG OPE website</description>
 5  <keepDependencies>false</keepDependencies>
 6  <properties>
 7    <hudson.model.ParametersDefinitionProperty>
 8      <parameterDefinitions>
 9        <hudson.model.BooleanParameterDefinition>
10          <name>BUILD</name>
11          <description>Initial configuration step</description>
12          <defaultValue>true</defaultValue>
13        </hudson.model.BooleanParameterDefinition>
14        <hudson.model.BooleanParameterDefinition>
15          <name>WEB</name>
16          <description>Test a web site</description>
17          <defaultValue>true</defaultValue>
18        </hudson.model.BooleanParameterDefinition>
19        <hudson.model.BooleanParameterDefinition>
20          <name>CMD</name>
21          <description>Test command line access</description>
22          <defaultValue>true</defaultValue>
23        </hudson.model.BooleanParameterDefinition>
24      </parameterDefinitions>
25    </hudson.model.ParametersDefinitionProperty>
26  </properties>
27  <scm class="org.jenkinsci.plugins.multiplescms.MultiSCM" plugin="multiple-scms@0.3">
28    <scms>
29      <hudson.plugins.mercurial.MercurialSCM plugin="mercurial@1.50.1">
30        <source>/tcc1/home/elson/chart</source>
31        <modules></modules>
32        <revisionType>BRANCH</revisionType>
33        <revision>default</revision>
34        <subdir>chart</subdir>
35        <clean>false</clean>
36        <credentialsId></credentialsId>
37        <disableChangeLog>false</disableChangeLog>
38      </hudson.plugins.mercurial.MercurialSCM>
39      <hudson.plugins.mercurial.MercurialSCM plugin="mercurial@1.50.1">
40        <source>/tcc1/home/elson/chartmsg</source>
41        <modules></modules>
42        <revisionType>BRANCH</revisionType>
43        <revision>default</revision>
44        <subdir>chartmsg</subdir>
45        <clean>false</clean>
46        <credentialsId></credentialsId>
47        <disableChangeLog>false</disableChangeLog>
48      </hudson.plugins.mercurial.MercurialSCM>
49    </scms>
50  </scm>
51  <canRoam>true</canRoam>
52  <disabled>false</disabled>
53  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
54  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
55  <triggers>
56    <hudson.triggers.TimerTrigger>
57      <spec>20 4 * * *</spec>
58    </hudson.triggers.TimerTrigger>
59  </triggers>
60  <concurrentBuild>false</concurrentBuild>
61  <builders>
62    <hudson.tasks.Shell>
63      <command>if [ &quot;$BUILD&quot; = &quot;true&quot; ]; then
64  cp chartmsg/dist/jenkins/CHART-MSG-env-OPE/settings_*.py chartmsg/chartmsg
65fi</command>
66    </hudson.tasks.Shell>
67    <hudson.tasks.Shell>
68      <command>rm -f nosetests-web.xml
69touch nosetests-web.xml
70if [ &quot;$WEB&quot; = &quot;true&quot; ]; then
71  CHART_WEB=&apos;http://chart/msg&apos; PYTHONPATH=$PWD/chart:$PWD/chartmsg py.test -v --junitxml nosetests-web.xml chartmsg/chartmsg/tests/install/test_server.py || :
72fi
73</command>
74    </hudson.tasks.Shell>
75    <hudson.tasks.Shell>
76      <command>rm -f nosetests-cmd.xml
77touch nosetests-cmd.xml
78if [ &quot;$CMD&quot; = &quot;true&quot; ]; then
79  PATH=$PWD/chartmsg/bin:$PATH PYTHONPATH=$PWD/chart:$PWD/chartmsg py.test -v --junitxml nosetests-cmd.xml chartmsg/chartmsg/tests/install/test_cmd.py || :
80fi
81</command>
82    </hudson.tasks.Shell>
83  </builders>
84  <publishers>
85    <hudson.tasks.junit.JUnitResultArchiver plugin="junit@1.2-beta-4">
86      <testResults>nosetests-web.xml</testResults>
87      <keepLongStdio>false</keepLongStdio>
88      <testDataPublishers/>
89      <healthScaleFactor>1.0</healthScaleFactor>
90    </hudson.tasks.junit.JUnitResultArchiver>
91  </publishers>
92  <buildWrappers>
93    <hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.4.1">
94      <colorMapName>xterm</colorMapName>
95    </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
96  </buildWrappers>
97</project>