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