Make lftools version configurable
[releng/global-jjb.git] / jjb-test / expected-xml / gerrit-maven-maven-clm-master
1 <?xml version="1.0" encoding="utf-8"?>
2 <project>
3   <jdk>openjdk8</jdk>
4   <actions/>
5   <description>&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
6   <keepDependencies>false</keepDependencies>
7   <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
8   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
9   <concurrentBuild>false</concurrentBuild>
10   <assignedNode>build-vm</assignedNode>
11   <canRoam>false</canRoam>
12   <properties>
13     <jenkins.model.BuildDiscarderProperty>
14       <strategy class="hudson.tasks.LogRotator">
15         <daysToKeep>30</daysToKeep>
16         <numToKeep>-1</numToKeep>
17         <artifactDaysToKeep>-1</artifactDaysToKeep>
18         <artifactNumToKeep>0</artifactNumToKeep>
19       </strategy>
20     </jenkins.model.BuildDiscarderProperty>
21     <hudson.model.ParametersDefinitionProperty>
22       <parameterDefinitions>
23         <hudson.model.StringParameterDefinition>
24           <name>PROJECT</name>
25           <description>Parameter to identify a Gerrit project. This is typically the
26 project repo path as exists in Gerrit.
27 For example: ofextensions/circuitsw
28 </description>
29           <defaultValue>releng/ciman</defaultValue>
30         </hudson.model.StringParameterDefinition>
31         <hudson.model.StringParameterDefinition>
32           <name>STREAM</name>
33           <description>Stream is often set to the same name as 'branch' but can
34 sometimes be used as a name representing a project's release code
35 name.
36 </description>
37           <defaultValue>master</defaultValue>
38         </hudson.model.StringParameterDefinition>
39         <hudson.model.StringParameterDefinition>
40           <name>GERRIT_PROJECT</name>
41           <description>Parameter to identify Gerrit project. This is typically the
42 project repo path as exists in Gerrit.
43 For example: ofextensions/circuitsw
44
45 Note that Gerrit will override this parameter automatically if a
46 job is triggered by Gerrit.
47 </description>
48           <defaultValue>releng/ciman</defaultValue>
49         </hudson.model.StringParameterDefinition>
50         <hudson.model.StringParameterDefinition>
51           <name>GERRIT_BRANCH</name>
52           <description>Parameter to identify a Gerrit branch.
53
54 Note that Gerrit will override this parameter automatically if a
55 job is triggered by Gerrit.
56 </description>
57           <defaultValue>master</defaultValue>
58         </hudson.model.StringParameterDefinition>
59         <hudson.model.StringParameterDefinition>
60           <name>GERRIT_REFSPEC</name>
61           <description>Parameter to identify a refspec when pulling from Gerrit.
62
63 Note that Gerrit will override this parameter automatically if a
64 job is triggered by Gerrit.
65 </description>
66           <defaultValue/>
67         </hudson.model.StringParameterDefinition>
68         <hudson.model.StringParameterDefinition>
69           <name>LFTOOLS_VERSION</name>
70           <description>Version of lftools to install. Can be a specific version like
71 '0.6.0' or a PEP-440 definition.
72 https://www.python.org/dev/peps/pep-0440/
73 For example '&lt;1.0.0' or '&gt;=1.0.0,&lt;2.0.0'.
74 </description>
75           <defaultValue>&lt;1.0.0</defaultValue>
76         </hudson.model.StringParameterDefinition>
77         <hudson.model.StringParameterDefinition>
78           <name>MAVEN_OPTS</name>
79           <description>Maven Java opts. Example: -Xmx1024m -XX:MaxPermSize=256m
80 </description>
81           <defaultValue/>
82         </hudson.model.StringParameterDefinition>
83         <hudson.model.StringParameterDefinition>
84           <name>MAVEN_PARAMS</name>
85           <description>Maven parameters to pass to the mvn command.
86 </description>
87           <defaultValue/>
88         </hudson.model.StringParameterDefinition>
89         <hudson.model.StringParameterDefinition>
90           <name>MVN</name>
91           <description>Maven selector to be used by shell scripts</description>
92           <defaultValue>/w/tools/hudson.tasks.Maven_MavenInstallation/mvn33/bin/mvn</defaultValue>
93         </hudson.model.StringParameterDefinition>
94         <hudson.model.StringParameterDefinition>
95           <name>STAGING_PROFILE_ID</name>
96           <description>Nexus staging profile ID.
97 </description>
98           <defaultValue>uuddlrlrba</defaultValue>
99         </hudson.model.StringParameterDefinition>
100       </parameterDefinitions>
101     </hudson.model.ParametersDefinitionProperty>
102   </properties>
103   <scm class="hudson.plugins.git.GitSCM">
104     <configVersion>2</configVersion>
105     <userRemoteConfigs>
106       <hudson.plugins.git.UserRemoteConfig>
107         <name>origin</name>
108         <refspec>$GERRIT_REFSPEC</refspec>
109         <url>$GIT_URL/$PROJECT</url>
110         <credentialsId>test-credential</credentialsId>
111       </hudson.plugins.git.UserRemoteConfig>
112     </userRemoteConfigs>
113     <branches>
114       <hudson.plugins.git.BranchSpec>
115         <name>refs/heads/$GERRIT_BRANCH</name>
116       </hudson.plugins.git.BranchSpec>
117     </branches>
118     <excludedUsers/>
119     <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
120     <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
121     <authorOrCommitter>false</authorOrCommitter>
122     <wipeOutWorkspace>true</wipeOutWorkspace>
123     <pruneBranches>false</pruneBranches>
124     <remotePoll>false</remotePoll>
125     <gitTool>Default</gitTool>
126     <submoduleCfg class="list"/>
127     <relativeTargetDir/>
128     <reference/>
129     <gitConfigName/>
130     <gitConfigEmail/>
131     <skipTag>true</skipTag>
132     <scmName/>
133     <useShallowClone>false</useShallowClone>
134     <ignoreNotifyCommit>false</ignoreNotifyCommit>
135     <extensions>
136       <hudson.plugins.git.extensions.impl.SubmoduleOption>
137         <disableSubmodules>false</disableSubmodules>
138         <recursiveSubmodules>true</recursiveSubmodules>
139         <trackingSubmodules>false</trackingSubmodules>
140         <reference/>
141         <timeout>10</timeout>
142       </hudson.plugins.git.extensions.impl.SubmoduleOption>
143       <hudson.plugins.git.extensions.impl.WipeWorkspace/>
144     </extensions>
145   </scm>
146   <triggers class="vector">
147     <hudson.triggers.TimerTrigger>
148       <spec>H H * * 6</spec>
149     </hudson.triggers.TimerTrigger>
150   </triggers>
151   <builders>
152     <hudson.tasks.Shell>
153       <command>echo &quot;quiet=on&quot; &gt; &quot;$HOME/.wgetrc&quot;</command>
154     </hudson.tasks.Shell>
155     <hudson.tasks.Maven>
156       <targets>--version</targets>
157       <properties/>
158       <mavenName>mvn33</mavenName>
159       <usePrivateRepository>false</usePrivateRepository>
160       <settings class="jenkins.mvn.DefaultSettingsProvider"/>
161       <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
162     </hudson.tasks.Maven>
163     <hudson.tasks.Shell>
164       <command>rm &quot;$HOME/.wgetrc&quot;</command>
165     </hudson.tasks.Shell>
166     <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
167       <managedFiles>
168         <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
169           <fileId>global-settings</fileId>
170           <targetLocation/>
171           <variable>GLOBAL_SETTINGS_FILE</variable>
172         </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
173         <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
174           <fileId>gerrit-maven-project-settings</fileId>
175           <targetLocation/>
176           <variable>SETTINGS_FILE</variable>
177         </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
178       </managedFiles>
179     </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
180     <hudson.tasks.Shell>
181       <command>#!/bin/bash
182 # SPDX-License-Identifier: EPL-1.0
183 ##############################################################################
184 # Copyright (c) 2017 The Linux Foundation and others.
185 #
186 # All rights reserved. This program and the accompanying materials
187 # are made available under the terms of the Eclipse Public License v1.0
188 # which accompanies this distribution, and is available at
189 # http://www.eclipse.org/legal/epl-v10.html
190 ##############################################################################
191
192 # This file contains a list of variables that are generally useful in many
193 # scripts. It is meant to be sourced in other scripts so that the variables can
194 # be called.
195
196 MAVEN_OPTIONS=&quot;$(echo --show-version \
197     --batch-mode \
198     -Djenkins \
199     -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
200     -Dmaven.repo.local=/tmp/r \
201     -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)&quot;
202 echo &quot;$MAVEN_OPTIONS&quot;
203
204 #!/bin/bash
205 # SPDX-License-Identifier: EPL-1.0
206 ##############################################################################
207 # Copyright (c) 2017 The Linux Foundation and others.
208 #
209 # All rights reserved. This program and the accompanying materials
210 # are made available under the terms of the Eclipse Public License v1.0
211 # which accompanies this distribution, and is available at
212 # http://www.eclipse.org/legal/epl-v10.html
213 ##############################################################################
214
215 # This script builds a Maven project and deploys it into a staging repo which
216 # can be used to deploy elsewhere later eg. Nexus staging / snapshot repos.
217
218 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
219 # Ensure we fail the job if any steps fail.
220 set -e -o pipefail
221 set +u
222
223 export MAVEN_OPTS
224
225 # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters.
226 # shellcheck disable=SC2086
227 $MVN clean install dependency:tree com.sonatype.clm:clm-maven-plugin:index \
228     --global-settings &quot;$GLOBAL_SETTINGS_FILE&quot; \
229     --settings &quot;$SETTINGS_FILE&quot; \
230     -DaltDeploymentRepository=staging::default::file:&quot;$WORKSPACE&quot;/m2repo \
231     $MAVEN_PARAMS $MAVEN_OPTIONS
232 </command>
233     </hudson.tasks.Shell>
234     <hudson.tasks.Shell>
235       <command>#!/bin/bash
236 set +e  # DO NOT cause build failure if any of the rm calls fail.
237
238 rm &quot;$GLOBAL_SETTINGS_FILE&quot; &quot;$SETTINGS_FILE&quot;
239
240 # In some cases we use the lf-provide-maven-settings macro to produce
241 # a &quot;$HOME/.netrc&quot; file containing credentials. Remove that file here
242 # too if it exists.
243 rm &quot;$HOME/.netrc&quot;
244
245 # DO NOT fail build if any of the above lines fail.
246 exit 0
247 </command>
248     </hudson.tasks.Shell>
249     <hudson.tasks.Shell>
250       <command>find . -regex &quot;.*karaf/target&quot; | xargs rm -rf</command>
251     </hudson.tasks.Shell>
252     <com.sonatype.insight.ci.hudson.PreBuildScan plugin="sonatype-clm-ci">
253       <applicationSelectType>
254         <value>list</value>
255         <applicationId>gerrit-maven</applicationId>
256       </applicationSelectType>
257       <pathConfig>
258         <scanTargets/>
259         <moduleExcludes/>
260         <scanProperties/>
261       </pathConfig>
262       <failOnClmServerFailures>false</failOnClmServerFailures>
263       <stageId>build</stageId>
264       <username/>
265       <password/>
266     </com.sonatype.insight.ci.hudson.PreBuildScan>
267   </builders>
268   <publishers>
269     <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
270       <buildSteps>
271         <hudson.tasks.Shell>
272           <command>#!/bin/bash
273 # SPDX-License-Identifier: EPL-1.0
274 ##############################################################################
275 # Copyright (c) 2017 The Linux Foundation and others.
276 #
277 # All rights reserved. This program and the accompanying materials
278 # are made available under the terms of the Eclipse Public License v1.0
279 # which accompanies this distribution, and is available at
280 # http://www.eclipse.org/legal/epl-v10.html
281 ##############################################################################
282 echo &quot;---&gt; sysstat.sh&quot;
283 set +e  # DON'T fail build if script fails.
284
285 OS=$(facter operatingsystem)
286 case &quot;$OS&quot; in
287     Ubuntu)
288         SYSSTAT_PATH=&quot;/var/log/sysstat&quot;
289
290         # Dont run the script when systat is not enabled by default
291         if ! grep --quiet 'ENABLED=&quot;true&quot;' &quot;/etc/default/sysstat&quot;; then
292             exit 0
293         fi
294     ;;
295     CentOS|RedHat)
296         SYSSTAT_PATH=&quot;/var/log/sa&quot;
297     ;;
298     *)
299         # nothing to do
300         exit 0
301     ;;
302 esac
303
304 SAR_DIR=&quot;$WORKSPACE/archives/sar-reports&quot;
305 mkdir -p &quot;$SAR_DIR&quot;
306 cp &quot;$SYSSTAT_PATH/&quot;* &quot;$_&quot;
307 # convert sar data to ascii format
308 while IFS=&quot;&quot; read -r s
309 do
310     [ -f &quot;$s&quot; ] &amp;&amp; LC_TIME=POSIX sar -A -f &quot;$s&quot; &gt; &quot;$SAR_DIR/sar${s//[!0-9]/}&quot;
311 done &lt; &lt;(find &quot;$SYSSTAT_PATH&quot; -name &quot;sa[0-9]*&quot; || true)
312
313 # DON'T fail build if script fails.
314 exit 0
315 </command>
316         </hudson.tasks.Shell>
317         <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
318           <managedFiles>
319             <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
320               <fileId>jenkins-log-archives-settings</fileId>
321               <targetLocation/>
322               <variable>SETTINGS_FILE</variable>
323             </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
324           </managedFiles>
325         </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
326         <EnvInjectBuilder>
327           <info>
328             <propertiesContent>SERVER_ID=logs</propertiesContent>
329           </info>
330         </EnvInjectBuilder>
331         <hudson.tasks.Shell>
332           <command>#!/bin/bash
333 # SPDX-License-Identifier: EPL-1.0
334 ##############################################################################
335 # Copyright (c) 2017 The Linux Foundation and others.
336 #
337 # All rights reserved. This program and the accompanying materials
338 # are made available under the terms of the Eclipse Public License v1.0
339 # which accompanies this distribution, and is available at
340 # http://www.eclipse.org/legal/epl-v10.html
341 ##############################################################################
342 echo &quot;---&gt; create-netrc.sh&quot;
343
344 # Ensure we fail the job if any steps fail.
345 set -eu -o pipefail
346
347 NEXUS_URL=&quot;${NEXUS_URL:-$NEXUSPROXY}&quot;
348 CREDENTIAL=$(xmlstarlet sel -N &quot;x=http://maven.apache.org/SETTINGS/1.0.0&quot; \
349     -t -m &quot;/x:settings/x:servers/x:server[x:id='${SERVER_ID}']&quot; \
350     -v x:username -o &quot;:&quot; -v x:password \
351     &quot;$SETTINGS_FILE&quot;)
352
353 machine=$(echo &quot;$NEXUS_URL&quot; | awk -F/ '{print $3}')
354 user=$(echo &quot;$CREDENTIAL&quot; | cut -f1 -d:)
355 pass=$(echo &quot;$CREDENTIAL&quot; | cut -f2 -d:)
356
357 echo &quot;machine $machine login $user password $pass&quot; &gt; ~/.netrc
358 </command>
359         </hudson.tasks.Shell>
360         <hudson.tasks.Shell>
361           <command>#!/bin/bash
362 # SPDX-License-Identifier: EPL-1.0
363 ##############################################################################
364 # Copyright (c) 2017 The Linux Foundation and others.
365 #
366 # All rights reserved. This program and the accompanying materials
367 # are made available under the terms of the Eclipse Public License v1.0
368 # which accompanies this distribution, and is available at
369 # http://www.eclipse.org/legal/epl-v10.html
370 ##############################################################################
371 echo &quot;---&gt; lftools-install.sh&quot;
372
373 # Script to install lftools via a version passed in via lf-infra-parameters
374 #
375 # Required parameters:
376 #
377 #     LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
378 #                      set to a strict version number like '1.2.3' or using
379 #                      PEP-440 definitions.
380 #
381 #                      Examples:
382 #                          &lt;1.0.0
383 #                          &gt;=1.0.0,&lt;2.0.0
384 #
385 # By default a released version of lftools should always be used.
386 # The purpose of the 2 variables below is so that lftools devs can test
387 # unreleased versions of lftools. There are 2 methods to install a dev version
388 # of lftools:
389 #
390 #     1) gerrit patch: Used to test a patch that has not yet been merged.
391 #                      To do this set something like this:
392 #                          LFTOOLS_MODE=gerrit
393 #                          LFTOOLS_REFSPEC=refs/changes/96/5296/7
394 #
395 #     2) git branch: Used to install an lftools version from a specific branch.
396 #                    To use this set the variables as follows:
397 #                          LFTOOLS_MODE=git
398 #                          LFTOOLS_REFSPEC=master
399 #
400 #     3) release : The intended use case and default setting.
401 #                  Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
402
403 LFTOOLS_MODE=release  # release | git | gerrit
404 LFTOOLS_REFSPEC=master
405
406 # Ensure we fail the job if any steps fail.
407 # DO NOT set -u as virtualenv's activate script has unbound variables
408 set -e -o pipefail
409
410 virtualenv --quiet &quot;/tmp/v/lftools&quot;
411 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
412 source &quot;/tmp/v/lftools/bin/activate&quot;
413 pip install --quiet --upgrade pip
414
415 case $LFTOOLS_MODE in
416     gerrit)
417         git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
418         pushd /tmp/lftools
419         git fetch origin &quot;$LFTOOLS_REFSPEC&quot;
420         git checkout FETCH_HEAD
421         pip install --quiet --upgrade -r requirements.txt
422         pip install --quiet --upgrade -e .
423         popd
424         ;;
425
426     git)
427         pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@&quot;$BRANCH&quot;
428         ;;
429
430     release)
431         if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
432             LFTOOLS_VERSION=&quot;==$LFTOOLS_VERSION&quot;
433         fi
434
435         pip install --quiet --upgrade &quot;lftools${LFTOOLS_VERSION}&quot;
436         ;;
437 esac
438
439 lftools --version
440
441 # pipdeptree prints out a lot of information because lftools pulls in many
442 # dependencies. Let's only print it if we want to debug.
443 # echo &quot;----&gt; Pip Dependency Tree&quot;
444 # pip install --quiet --upgrade pipdeptree
445 # pipdeptree
446
447 #!/bin/bash
448 # SPDX-License-Identifier: EPL-1.0
449 ##############################################################################
450 # Copyright (c) 2017 The Linux Foundation and others.
451 #
452 # All rights reserved. This program and the accompanying materials
453 # are made available under the terms of the Eclipse Public License v1.0
454 # which accompanies this distribution, and is available at
455 # http://www.eclipse.org/legal/epl-v10.html
456 ##############################################################################
457 echo &quot;---&gt; logs-deploy.sh&quot;
458
459 # Ensure we fail the job if any steps fail.
460 set -eu -o pipefail
461
462 set -x  # Trace commands for this script to make debugging easier.
463
464 ARCHIVE_ARTIFACTS=&quot;${ARCHIVE_ARTIFACTS:-}&quot;
465 LOGS_SERVER=&quot;${LOGS_SERVER:-None}&quot;
466
467 if [ &quot;${LOGS_SERVER}&quot; == 'None' ]
468 then
469     set +x # Disable trace since we no longer need it
470
471     echo &quot;WARNING: Logging server not set&quot;
472 else
473     NEXUS_URL=&quot;${NEXUS_URL:-$NEXUSPROXY}&quot;
474     NEXUS_PATH=&quot;${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}&quot;
475     BUILD_URL=&quot;${BUILD_URL}&quot;
476
477     lftools deploy archives -p &quot;$ARCHIVE_ARTIFACTS&quot; &quot;$NEXUS_URL&quot; &quot;$NEXUS_PATH&quot; &quot;$WORKSPACE&quot;
478     lftools deploy logs &quot;$NEXUS_URL&quot; &quot;$NEXUS_PATH&quot; &quot;$BUILD_URL&quot;
479
480     set +x  # Disable trace since we no longer need it.
481
482     echo &quot;Build logs: &lt;a href=\&quot;$LOGS_SERVER/$NEXUS_PATH\&quot;&gt;$LOGS_SERVER/$NEXUS_PATH&lt;/a&gt;&quot;
483 fi
484 </command>
485         </hudson.tasks.Shell>
486         <hudson.tasks.Shell>
487           <command>#!/bin/bash
488 # SPDX-License-Identifier: EPL-1.0
489 ##############################################################################
490 # Copyright (c) 2017 The Linux Foundation and others.
491 #
492 # All rights reserved. This program and the accompanying materials
493 # are made available under the terms of the Eclipse Public License v1.0
494 # which accompanies this distribution, and is available at
495 # http://www.eclipse.org/legal/epl-v10.html
496 ##############################################################################
497
498 # Clear log credential files
499 rm &quot;$SETTINGS_FILE&quot;
500 rm ~/.netrc
501 </command>
502         </hudson.tasks.Shell>
503         <hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
504           <regexp>^Build logs: .*</regexp>
505         </hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
506       </buildSteps>
507       <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
508       <scriptOnlyIfFailure>false</scriptOnlyIfFailure>
509       <markBuildUnstable>false</markBuildUnstable>
510     </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
511     <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup">
512       <patterns>
513         <hudson.plugins.ws__cleanup.Pattern>
514           <pattern>**/*.jenkins-trigger</pattern>
515           <type>EXCLUDE</type>
516         </hudson.plugins.ws__cleanup.Pattern>
517       </patterns>
518       <deleteDirs>false</deleteDirs>
519       <cleanupMatrixParent>false</cleanupMatrixParent>
520       <externalDelete/>
521       <cleanWhenSuccess>true</cleanWhenSuccess>
522       <cleanWhenUnstable>true</cleanWhenUnstable>
523       <cleanWhenFailure>true</cleanWhenFailure>
524       <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
525       <cleanWhenAborted>true</cleanWhenAborted>
526       <notFailBuild>true</notFailBuild>
527     </hudson.plugins.ws__cleanup.WsCleanup>
528   </publishers>
529   <buildWrappers>
530     <com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsBuildWrapper/>
531     <hudson.plugins.build__timeout.BuildTimeoutWrapper>
532       <timeoutMinutes>15</timeoutMinutes>
533       <timeoutEnvVar>BUILD_TIMEOUT</timeoutEnvVar>
534       <failBuild>true</failBuild>
535       <writingDescription>false</writingDescription>
536       <timeoutPercentage>0</timeoutPercentage>
537       <timeoutMinutesElasticDefault>3</timeoutMinutesElasticDefault>
538       <timeoutType>absolute</timeoutType>
539     </hudson.plugins.build__timeout.BuildTimeoutWrapper>
540     <hudson.plugins.timestamper.TimestamperBuildWrapper/>
541     <com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
542       <user>test-credential</user>
543     </com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
544     <jenkins.plugins.openstack.compute.JCloudsOneOffSlave/>
545   </buildWrappers>
546 </project>