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