1 <?xml version="1.0" encoding="utf-8"?>
5 <description><!-- Managed by Jenkins Job Builder --></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>
13 <jenkins.model.BuildDiscarderProperty>
14 <strategy class="hudson.tasks.LogRotator">
15 <daysToKeep>7</daysToKeep>
16 <numToKeep>-1</numToKeep>
17 <artifactDaysToKeep>-1</artifactDaysToKeep>
18 <artifactNumToKeep>0</artifactNumToKeep>
20 </jenkins.model.BuildDiscarderProperty>
21 <hudson.model.ParametersDefinitionProperty>
22 <parameterDefinitions>
23 <hudson.model.StringParameterDefinition>
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
29 <defaultValue>releng/ciman</defaultValue>
30 </hudson.model.StringParameterDefinition>
31 <hudson.model.StringParameterDefinition>
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
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
45 Note that Gerrit will override this parameter automatically if a
46 job is triggered by Gerrit.
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.
54 Note that Gerrit will override this parameter automatically if a
55 job is triggered by Gerrit.
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.
63 Note that Gerrit will override this parameter automatically if a
64 job is triggered by Gerrit.
66 <defaultValue>refs/heads/master</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 '<1.0.0' or '>=1.0.0,<2.0.0'.
75 <defaultValue><1.0.0</defaultValue>
76 </hudson.model.StringParameterDefinition>
77 <hudson.model.StringParameterDefinition>
79 <description>Maven selector to be used by shell scripts</description>
80 <defaultValue>/w/tools/hudson.tasks.Maven_MavenInstallation/mvn33</defaultValue>
81 </hudson.model.StringParameterDefinition>
82 <hudson.model.StringParameterDefinition>
83 <name>MAVEN_OPTS</name>
84 <description>Maven Java opts. Example: -Xmx1024m -XX:MaxPermSize=256m
87 </hudson.model.StringParameterDefinition>
88 <hudson.model.StringParameterDefinition>
89 <name>MAVEN_PARAMS</name>
90 <description>Maven parameters to pass to the mvn command.
93 </hudson.model.StringParameterDefinition>
94 <hudson.model.StringParameterDefinition>
96 <description>Maven selector to be used by shell scripts</description>
97 <defaultValue>/w/tools/hudson.tasks.Maven_MavenInstallation/mvn33/bin/mvn</defaultValue>
98 </hudson.model.StringParameterDefinition>
99 <hudson.model.StringParameterDefinition>
100 <name>STAGING_PROFILE_ID</name>
101 <description>Nexus staging profile ID.
103 <defaultValue>uuddlrlrba</defaultValue>
104 </hudson.model.StringParameterDefinition>
105 <hudson.model.StringParameterDefinition>
106 <name>ARCHIVE_ARTIFACTS</name>
107 <description>Artifacts to archive to the logs server.</description>
109 </hudson.model.StringParameterDefinition>
110 </parameterDefinitions>
111 </hudson.model.ParametersDefinitionProperty>
113 <scm class="hudson.plugins.git.GitSCM">
114 <configVersion>2</configVersion>
116 <hudson.plugins.git.UserRemoteConfig>
118 <refspec>$GERRIT_REFSPEC</refspec>
119 <url>$GIT_URL/$PROJECT</url>
120 <credentialsId>test-credential</credentialsId>
121 </hudson.plugins.git.UserRemoteConfig>
124 <hudson.plugins.git.BranchSpec>
125 <name>refs/heads/$GERRIT_BRANCH</name>
126 </hudson.plugins.git.BranchSpec>
129 <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
130 <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
131 <authorOrCommitter>false</authorOrCommitter>
132 <wipeOutWorkspace>true</wipeOutWorkspace>
133 <pruneBranches>false</pruneBranches>
134 <remotePoll>false</remotePoll>
135 <gitTool>Default</gitTool>
136 <submoduleCfg class="list"/>
141 <skipTag>true</skipTag>
143 <useShallowClone>false</useShallowClone>
144 <ignoreNotifyCommit>false</ignoreNotifyCommit>
146 <hudson.plugins.git.extensions.impl.SubmoduleOption>
147 <disableSubmodules>false</disableSubmodules>
148 <recursiveSubmodules>true</recursiveSubmodules>
149 <trackingSubmodules>false</trackingSubmodules>
151 <timeout>10</timeout>
152 </hudson.plugins.git.extensions.impl.SubmoduleOption>
153 <hudson.plugins.git.extensions.impl.WipeWorkspace/>
156 <triggers class="vector">
157 <hudson.triggers.TimerTrigger>
158 <spec>H H * * 6</spec>
159 </hudson.triggers.TimerTrigger>
160 <com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger>
163 <com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.GerritProject>
164 <compareType>ANT</compareType>
165 <pattern>releng/ciman</pattern>
167 <com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch>
168 <compareType>ANT</compareType>
169 <pattern>**/master</pattern>
170 </com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch>
172 <disableStrictForbiddenFileVerification>false</disableStrictForbiddenFileVerification>
173 </com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.GerritProject>
176 <onSuccessful>true</onSuccessful>
177 <onFailed>true</onFailed>
178 <onUnstable>true</onUnstable>
179 <onNotBuilt>true</onNotBuilt>
181 <silentMode>false</silentMode>
182 <silentStartMode>false</silentStartMode>
183 <escapeQuotes>true</escapeQuotes>
184 <noNameAndEmailParameters>false</noNameAndEmailParameters>
185 <readableMessage>false</readableMessage>
186 <dependencyJobsNames/>
188 <dynamicTriggerConfiguration>False</dynamicTriggerConfiguration>
190 <allowTriggeringUnreviewedPatches>false</allowTriggeringUnreviewedPatches>
192 <com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginCommentAddedContainsEvent>
193 <commentAddedCommentContains>run-sonar$</commentAddedCommentContains>
194 </com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginCommentAddedContainsEvent>
197 <buildFailureMessage/>
198 <buildSuccessfulMessage/>
199 <buildUnstableMessage/>
200 <buildNotBuiltMessage/>
201 <buildUnsuccessfulFilepath/>
203 <serverName>test-server</serverName>
204 </com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger>
208 <command>echo "quiet=on" > "$HOME/.wgetrc"</command>
209 </hudson.tasks.Shell>
211 <targets>--version</targets>
213 <mavenName>mvn33</mavenName>
214 <usePrivateRepository>false</usePrivateRepository>
215 <settings class="jenkins.mvn.DefaultSettingsProvider"/>
216 <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
217 </hudson.tasks.Maven>
219 <command>rm "$HOME/.wgetrc"</command>
220 </hudson.tasks.Shell>
223 <propertiesContent>SONAR_HOST_URL=$SONAR_URL
224 SONAR_MAVEN_GOAL=sonar:sonar
228 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
230 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
231 <fileId>global-settings</fileId>
233 <variable>GLOBAL_SETTINGS_FILE</variable>
234 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
235 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
236 <fileId>gerrit-maven-project-settings</fileId>
238 <variable>SETTINGS_FILE</variable>
239 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
241 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
244 # SPDX-License-Identifier: EPL-1.0
245 ##############################################################################
246 # Copyright (c) 2017 The Linux Foundation and others.
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 ##############################################################################
254 # This file contains a list of variables that are generally useful in many
255 # scripts. It is meant to be sourced in other scripts so that the variables can
258 MAVEN_OPTIONS="$(echo --show-version \
261 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
262 -Dmaven.repo.local=/tmp/r \
263 -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)"
264 echo "$MAVEN_OPTIONS"
267 # SPDX-License-Identifier: EPL-1.0
268 ##############################################################################
269 # Copyright (c) 2017 The Linux Foundation and others.
271 # All rights reserved. This program and the accompanying materials
272 # are made available under the terms of the Eclipse Public License v1.0
273 # which accompanies this distribution, and is available at
274 # http://www.eclipse.org/legal/epl-v10.html
275 ##############################################################################
277 # This script builds a Maven project and deploys it into a staging repo which
278 # can be used to deploy elsewhere later eg. Nexus staging / snapshot repos.
280 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
281 # Ensure we fail the job if any steps fail.
287 # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters.
288 # shellcheck disable=SC2086
291 --global-settings "$GLOBAL_SETTINGS_FILE" \
292 --settings "$SETTINGS_FILE" \
293 -DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo \
294 $MAVEN_PARAMS $MAVEN_OPTIONS
296 # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters.
297 # shellcheck disable=SC2086
298 $MVN $SONAR_MAVEN_GOAL \
299 -Dsonar -Dsonar.host.url="$SONAR_HOST_URL" \
300 --global-settings "$GLOBAL_SETTINGS_FILE" \
301 --settings "$SETTINGS_FILE" \
302 -DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo \
303 $MAVEN_PARAMS $MAVEN_OPTIONS
305 </hudson.tasks.Shell>
308 set +e # DO NOT cause build failure if any of the rm calls fail.
310 rm "$GLOBAL_SETTINGS_FILE" "$SETTINGS_FILE"
312 # In some cases we use the lf-provide-maven-settings macro to produce
313 # a "$HOME/.netrc" file containing credentials. Remove that file here
315 rm "$HOME/.netrc"
317 # DO NOT fail build if any of the above lines fail.
320 </hudson.tasks.Shell>
323 <hudson.plugins.jacoco.JacocoPublisher>
324 <execPattern>**/**.exec</execPattern>
325 <classPattern>**/classes</classPattern>
326 <sourcePattern>**/src/main/java</sourcePattern>
329 <exclusionPattern>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</exclusionPattern>
330 <maximumBranchCoverage>10</maximumBranchCoverage>
331 <minimumBranchCoverage>20</minimumBranchCoverage>
332 <maximumMethodCoverage>50</maximumMethodCoverage>
333 <minimumMethodCoverage>40</minimumMethodCoverage>
334 </hudson.plugins.jacoco.JacocoPublisher>
335 <hudson.plugins.findbugs.FindBugsPublisher plugin="findbugs">
336 <isRankActivated>false</isRankActivated>
341 <thresholdLimit>low</thresholdLimit>
342 <pluginName>[FINDBUGS] </pluginName>
344 <canRunOnFailed>false</canRunOnFailed>
345 <useStableBuildAsReference>false</useStableBuildAsReference>
346 <usePreviousBuildAsReference>false</usePreviousBuildAsReference>
347 <useDeltaValues>false</useDeltaValues>
351 <unstableTotalNormal/>
358 <shouldDetectModules>false</shouldDetectModules>
359 <dontComputeNew>true</dontComputeNew>
360 <doNotResolveRelativePaths>false</doNotResolveRelativePaths>
362 </hudson.plugins.findbugs.FindBugsPublisher>
363 <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
367 # SPDX-License-Identifier: EPL-1.0
368 ##############################################################################
369 # Copyright (c) 2017 The Linux Foundation and others.
371 # All rights reserved. This program and the accompanying materials
372 # are made available under the terms of the Eclipse Public License v1.0
373 # which accompanies this distribution, and is available at
374 # http://www.eclipse.org/legal/epl-v10.html
375 ##############################################################################
376 echo "---> sysstat.sh"
377 set +e # DON'T fail build if script fails.
379 OS=$(facter operatingsystem)
380 case "$OS" in
382 SYSSTAT_PATH="/var/log/sysstat"
384 # Dont run the script when systat is not enabled by default
385 if ! grep --quiet 'ENABLED="true"' "/etc/default/sysstat"; then
390 SYSSTAT_PATH="/var/log/sa"
398 SAR_DIR="$WORKSPACE/archives/sar-reports"
399 mkdir -p "$SAR_DIR"
400 cp "$SYSSTAT_PATH/"* "$_"
401 # convert sar data to ascii format
402 while IFS="" read -r s
404 [ -f "$s" ] && LC_TIME=POSIX sar -A -f "$s" > "$SAR_DIR/sar${s//[!0-9]/}"
405 done < <(find "$SYSSTAT_PATH" -name "sa[0-9]*" || true)
407 # DON'T fail build if script fails.
410 </hudson.tasks.Shell>
411 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
413 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
414 <fileId>jenkins-log-archives-settings</fileId>
416 <variable>SETTINGS_FILE</variable>
417 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
419 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
422 <propertiesContent>SERVER_ID=logs</propertiesContent>
427 # SPDX-License-Identifier: EPL-1.0
428 ##############################################################################
429 # Copyright (c) 2017 The Linux Foundation and others.
431 # All rights reserved. This program and the accompanying materials
432 # are made available under the terms of the Eclipse Public License v1.0
433 # which accompanies this distribution, and is available at
434 # http://www.eclipse.org/legal/epl-v10.html
435 ##############################################################################
436 echo "---> create-netrc.sh"
438 # Ensure we fail the job if any steps fail.
441 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
442 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
443 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
444 -v x:username -o ":" -v x:password \
445 "$SETTINGS_FILE")
447 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
448 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
449 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
451 echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
453 </hudson.tasks.Shell>
456 # SPDX-License-Identifier: EPL-1.0
457 ##############################################################################
458 # Copyright (c) 2017 The Linux Foundation and others.
460 # All rights reserved. This program and the accompanying materials
461 # are made available under the terms of the Eclipse Public License v1.0
462 # which accompanies this distribution, and is available at
463 # http://www.eclipse.org/legal/epl-v10.html
464 ##############################################################################
465 echo "---> lftools-install.sh"
467 # Script to install lftools via a version passed in via lf-infra-parameters
469 # Required parameters:
471 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
472 # set to a strict version number like '1.2.3' or using
473 # PEP-440 definitions.
477 # >=1.0.0,<2.0.0
479 # By default a released version of lftools should always be used.
480 # The purpose of the 2 variables below is so that lftools devs can test
481 # unreleased versions of lftools. There are 2 methods to install a dev version
484 # 1) gerrit patch: Used to test a patch that has not yet been merged.
485 # To do this set something like this:
486 # LFTOOLS_MODE=gerrit
487 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
489 # 2) git branch: Used to install an lftools version from a specific branch.
490 # To use this set the variables as follows:
492 # LFTOOLS_REFSPEC=master
494 # 3) release : The intended use case and default setting.
495 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
497 LFTOOLS_MODE=release # release | git | gerrit
498 LFTOOLS_REFSPEC=master
500 # Ensure we fail the job if any steps fail.
501 # DO NOT set -u as virtualenv's activate script has unbound variables
504 virtualenv --quiet "/tmp/v/lftools"
505 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
506 source "/tmp/v/lftools/bin/activate"
507 pip install --quiet --upgrade pip
509 case $LFTOOLS_MODE in
511 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
513 git fetch origin "$LFTOOLS_REFSPEC"
514 git checkout FETCH_HEAD
515 pip install --quiet --upgrade -r requirements.txt
516 pip install --quiet --upgrade -e .
521 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
525 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
526 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
529 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
535 # pipdeptree prints out a lot of information because lftools pulls in many
536 # dependencies. Let's only print it if we want to debug.
537 # echo "----> Pip Dependency Tree"
538 # pip install --quiet --upgrade pipdeptree
542 # SPDX-License-Identifier: EPL-1.0
543 ##############################################################################
544 # Copyright (c) 2017 The Linux Foundation and others.
546 # All rights reserved. This program and the accompanying materials
547 # are made available under the terms of the Eclipse Public License v1.0
548 # which accompanies this distribution, and is available at
549 # http://www.eclipse.org/legal/epl-v10.html
550 ##############################################################################
551 echo "---> logs-deploy.sh"
553 # Ensure we fail the job if any steps fail.
556 set -x # Trace commands for this script to make debugging easier.
558 ARCHIVE_ARTIFACTS="${ARCHIVE_ARTIFACTS:-}"
559 LOGS_SERVER="${LOGS_SERVER:-None}"
561 if [ "${LOGS_SERVER}" == 'None' ]
563 set +x # Disable trace since we no longer need it
565 echo "WARNING: Logging server not set"
567 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
568 NEXUS_PATH="${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}"
569 BUILD_URL="${BUILD_URL}"
571 lftools deploy archives -p "$ARCHIVE_ARTIFACTS" "$NEXUS_URL" "$NEXUS_PATH" "$WORKSPACE"
572 lftools deploy logs "$NEXUS_URL" "$NEXUS_PATH" "$BUILD_URL"
574 set +x # Disable trace since we no longer need it.
576 echo "Build logs: <a href=\"$LOGS_SERVER/$NEXUS_PATH\">$LOGS_SERVER/$NEXUS_PATH</a>"
579 </hudson.tasks.Shell>
582 # SPDX-License-Identifier: EPL-1.0
583 ##############################################################################
584 # Copyright (c) 2017 The Linux Foundation and others.
586 # All rights reserved. This program and the accompanying materials
587 # are made available under the terms of the Eclipse Public License v1.0
588 # which accompanies this distribution, and is available at
589 # http://www.eclipse.org/legal/epl-v10.html
590 ##############################################################################
592 # Clear log credential files
593 rm "$SETTINGS_FILE"
596 </hudson.tasks.Shell>
597 <hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
598 <regexp>^Build logs: .*</regexp>
599 </hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
601 <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
602 <scriptOnlyIfFailure>false</scriptOnlyIfFailure>
603 <markBuildUnstable>false</markBuildUnstable>
604 </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
605 <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup">
607 <hudson.plugins.ws__cleanup.Pattern>
608 <pattern>**/*.jenkins-trigger</pattern>
610 </hudson.plugins.ws__cleanup.Pattern>
612 <deleteDirs>false</deleteDirs>
613 <cleanupMatrixParent>false</cleanupMatrixParent>
615 <cleanWhenSuccess>true</cleanWhenSuccess>
616 <cleanWhenUnstable>true</cleanWhenUnstable>
617 <cleanWhenFailure>true</cleanWhenFailure>
618 <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
619 <cleanWhenAborted>true</cleanWhenAborted>
620 <notFailBuild>true</notFailBuild>
621 </hudson.plugins.ws__cleanup.WsCleanup>
624 <com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsBuildWrapper/>
625 <hudson.plugins.build__timeout.BuildTimeoutWrapper>
626 <timeoutMinutes>30</timeoutMinutes>
627 <timeoutEnvVar>BUILD_TIMEOUT</timeoutEnvVar>
628 <failBuild>true</failBuild>
629 <writingDescription>false</writingDescription>
630 <timeoutPercentage>0</timeoutPercentage>
631 <timeoutMinutesElasticDefault>3</timeoutMinutesElasticDefault>
632 <timeoutType>absolute</timeoutType>
633 </hudson.plugins.build__timeout.BuildTimeoutWrapper>
634 <hudson.plugins.timestamper.TimestamperBuildWrapper/>
635 <com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
636 <user>test-credential</user>
637 </com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
638 <jenkins.plugins.openstack.compute.JCloudsOneOffSlave/>
639 <org.jenkinsci.plugins.configfiles.buildwrapper.ConfigFileBuildWrapper plugin="config-file-provider">
641 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
642 <fileId>npmrc</fileId>
643 <targetLocation>$HOME/.npmrc</targetLocation>
645 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
647 </org.jenkinsci.plugins.configfiles.buildwrapper.ConfigFileBuildWrapper>