c299857ce245dd476755df72751695645a89dabf
[services/jenkins-jobs.git] / jobs / update-nuget / config.xml
1 <?xml version='1.0' encoding='UTF-8'?>
2 <project>
3   <actions/>
4   <description>Push the nuget server after collect a nuget packages. this jobs must be run on Download Server</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></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     <hudson.model.ParametersDefinitionProperty>
26       <parameterDefinitions>
27         <hudson.model.StringParameterDefinition>
28           <name>TRIGGER_INFO</name>
29           <description></description>
30           <defaultValue></defaultValue>
31         </hudson.model.StringParameterDefinition>
32       </parameterDefinitions>
33     </hudson.model.ParametersDefinitionProperty>
34   </properties>
35   <scm class="hudson.scm.NullSCM"/>
36   <quietPeriod>30</quietPeriod>
37   <assignedNode>master</assignedNode>
38   <canRoam>false</canRoam>
39   <disabled>false</disabled>
40   <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
41   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
42   <triggers/>
43   <concurrentBuild>false</concurrentBuild>
44   <builders>
45     <hudson.tasks.Shell>
46       <command>#/bin/bash
47
48 python ${WORKSPACE}/jenkins-scripts/job_update_nuget.py
49 </command>
50     </hudson.tasks.Shell>
51   </builders>
52   <publishers>
53     <org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder plugin="groovy-postbuild@2.3.1">
54       <script plugin="script-security@1.27">
55         <script>def matcher = manager.getLogMatcher(&apos;.*\&quot;build_id\&quot;: &quot;(.*)&quot;.*&apos;)
56
57 if(matcher?.matches()) {
58     manager.addShortText(matcher.group(1))
59 }else{
60     manager.addShortText(&quot;??&quot;)
61 }</script>
62         <sandbox>false</sandbox>
63       </script>
64       <behavior>0</behavior>
65       <runForMatrixParent>false</runForMatrixParent>
66     </org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder>
67     <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup@0.32">
68       <patterns class="empty-list"/>
69       <deleteDirs>false</deleteDirs>
70       <skipWhenFailed>false</skipWhenFailed>
71       <cleanWhenSuccess>true</cleanWhenSuccess>
72       <cleanWhenUnstable>true</cleanWhenUnstable>
73       <cleanWhenFailure>true</cleanWhenFailure>
74       <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
75       <cleanWhenAborted>true</cleanWhenAborted>
76       <notFailBuild>false</notFailBuild>
77       <cleanupMatrixParent>false</cleanupMatrixParent>
78       <externalDelete></externalDelete>
79     </hudson.plugins.ws__cleanup.WsCleanup>
80   </publishers>
81   <buildWrappers>
82     <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.32">
83       <deleteDirs>false</deleteDirs>
84       <cleanupParameter></cleanupParameter>
85       <externalDelete></externalDelete>
86     </hudson.plugins.ws__cleanup.PreBuildCleanup>
87     <com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper plugin="copy-to-slave@1.4.4">
88       <includes>configuration, jenkins-scripts/job_update_nuget.py, jenkins-scripts/common/*, jenkins-scripts/scripts/nuget.exe</includes>
89       <excludes></excludes>
90       <flatten>false</flatten>
91       <includeAntExcludes>false</includeAntExcludes>
92       <hudsonHomeRelative>false</hudsonHomeRelative>
93       <relativeTo>userContent</relativeTo>
94     </com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper>
95     <EnvInjectBuildWrapper plugin="envinject@2.0">
96       <info>
97         <propertiesFilePath>${WORKSPACE}/configuration</propertiesFilePath>
98         <secureGroovyScript plugin="script-security@1.27">
99           <script></script>
100           <sandbox>false</sandbox>
101         </secureGroovyScript>
102         <loadFilesFromMaster>false</loadFilesFromMaster>
103       </info>
104     </EnvInjectBuildWrapper>
105   </buildWrappers>
106 </project>