bfd75f373f531c9b350d50ab2e8d96aa62e584c9
[services/jenkins-jobs.git] / jobs / ref-purge-project-obs / config.xml
1 <?xml version='1.0' encoding='UTF-8'?>
2 <project>
3   <actions/>
4   <description></description>
5   <keepDependencies>false</keepDependencies>
6   <properties>
7     <hudson.plugins.buildblocker.BuildBlockerProperty plugin="build-blocker-plugin@1.7.3">
8       <useBuildBlocker>false</useBuildBlocker>
9       <blockLevel>UNDEFINED</blockLevel>
10       <scanQueueFor>DISABLED</scanQueueFor>
11       <blockingJobs>pre-release-create</blockingJobs>
12     </hudson.plugins.buildblocker.BuildBlockerProperty>
13     <jenkins.model.BuildDiscarderProperty>
14       <strategy class="hudson.tasks.LogRotator">
15         <daysToKeep>7</daysToKeep>
16         <numToKeep>1000</numToKeep>
17         <artifactDaysToKeep>-1</artifactDaysToKeep>
18         <artifactNumToKeep>-1</artifactNumToKeep>
19       </strategy>
20     </jenkins.model.BuildDiscarderProperty>
21     <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.25">
22       <autoRebuild>false</autoRebuild>
23       <rebuildDisabled>false</rebuildDisabled>
24     </com.sonyericsson.rebuild.RebuildSettings>
25   </properties>
26   <scm class="hudson.scm.NullSCM"/>
27   <assignedNode>master</assignedNode>
28   <canRoam>false</canRoam>
29   <disabled>false</disabled>
30   <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
31   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
32   <triggers>
33     <hudson.triggers.TimerTrigger>
34       <spec>H * * * *</spec>
35     </hudson.triggers.TimerTrigger>
36   </triggers>
37   <concurrentBuild>false</concurrentBuild>
38   <builders>
39     <hudson.tasks.Shell>
40       <command>#!/bin/bash
41 set -x
42
43 python ${WORKSPACE}/jenkins-scripts/job_ref_purge_prj_obs.py</command>
44     </hudson.tasks.Shell>
45   </builders>
46   <publishers>
47     <org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder plugin="groovy-postbuild@2.3.1">
48       <script plugin="script-security@1.27">
49         <script>def build_id = manager.getLogMatcher(&quot;.*build_id=&apos;(.*)&apos;\$&quot;)
50 def updt = manager.getLogMatcher(&quot;Profile (.*) updated to (.*)&quot;)
51
52 if(updt?.matches()) {
53     manager.addShortText(&quot;\n&quot;)
54     manager.addShortText(updt.group(1) + &apos; -&gt; &apos; + updt.group(2))
55 } else if(build_id?.matches()) {
56     manager.addShortText(&quot;\n&quot;)
57     manager.addShortText(build_id.group(1))
58 }</script>
59         <sandbox>false</sandbox>
60       </script>
61       <behavior>0</behavior>
62       <runForMatrixParent>false</runForMatrixParent>
63     </org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder>
64   </publishers>
65   <buildWrappers>
66     <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.33">
67       <deleteDirs>false</deleteDirs>
68       <cleanupParameter></cleanupParameter>
69       <externalDelete></externalDelete>
70     </hudson.plugins.ws__cleanup.PreBuildCleanup>
71     <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
72       <includes>configuration, jenkins-scripts/job_ref_purge_prj_obs.py, jenkins-scripts/common/*</includes>
73       <excludes></excludes>
74       <flatten>false</flatten>
75       <includeAntExcludes>false</includeAntExcludes>
76       <hudsonHomeRelative>false</hudsonHomeRelative>
77       <relativeTo>userContent</relativeTo>
78     </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
79     <EnvInjectBuildWrapper plugin="envinject@2.0">
80       <info>
81         <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
82         <secureGroovyScript plugin="script-security@1.27">
83           <script></script>
84           <sandbox>false</sandbox>
85         </secureGroovyScript>
86         <loadFilesFromMaster>false</loadFilesFromMaster>
87       </info>
88     </EnvInjectBuildWrapper>
89   </buildWrappers>
90 </project>