1 <?xml version="1.0" encoding="utf-8"?>
4 <description><!-- Managed by Jenkins Job Builder --></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>
12 <com.coravy.hudson.plugins.github.GithubProjectProperty plugin="github">
13 <projectUrl>https://github.com/example-org/releng/ciman</projectUrl>
15 </com.coravy.hudson.plugins.github.GithubProjectProperty>
16 <hudson.model.ParametersDefinitionProperty>
17 <parameterDefinitions>
18 <hudson.model.StringParameterDefinition>
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
24 <defaultValue>releng/ciman</defaultValue>
25 </hudson.model.StringParameterDefinition>
26 <hudson.model.StringParameterDefinition>
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
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
40 Note that Gerrit will override this parameter automatically if a
41 job is triggered by Gerrit.
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.
49 Note that Gerrit will override this parameter automatically if a
50 job is triggered by Gerrit.
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.
58 Note that Gerrit will override this parameter automatically if a
59 job is triggered by Gerrit.
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 '<1.0.0' or '>=1.0.0,<2.0.0'.
70 <defaultValue><1.0.0</defaultValue>
71 </hudson.model.StringParameterDefinition>
72 <hudson.model.StringParameterDefinition>
73 <name>PACKER_VERSION</name>
74 <description>Packer version to download and install.</description>
75 <defaultValue>1.1.3</defaultValue>
76 </hudson.model.StringParameterDefinition>
77 </parameterDefinitions>
78 </hudson.model.ParametersDefinitionProperty>
80 <scm class="hudson.plugins.git.GitSCM">
81 <configVersion>2</configVersion>
83 <hudson.plugins.git.UserRemoteConfig>
86 <url>git@github.com:example-org/releng/ciman</url>
87 <credentialsId>test-credential</credentialsId>
88 </hudson.plugins.git.UserRemoteConfig>
91 <hudson.plugins.git.BranchSpec>
92 <name>refs/heads/master</name>
93 </hudson.plugins.git.BranchSpec>
95 <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
96 <remotePoll>false</remotePoll>
97 <gitTool>Default</gitTool>
98 <submoduleCfg class="list"/>
103 <hudson.plugins.git.extensions.impl.BuildChooserSetting>
104 <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
105 </hudson.plugins.git.extensions.impl.BuildChooserSetting>
106 <hudson.plugins.git.extensions.impl.SubmoduleOption>
107 <disableSubmodules>false</disableSubmodules>
108 <recursiveSubmodules>true</recursiveSubmodules>
109 <trackingSubmodules>false</trackingSubmodules>
110 <parentCredentials>false</parentCredentials>
112 <timeout>10</timeout>
113 </hudson.plugins.git.extensions.impl.SubmoduleOption>
114 <hudson.plugins.git.extensions.impl.WipeWorkspace/>
117 <triggers class="vector">
118 <hudson.triggers.TimerTrigger>
119 <spec>00 10 1 * *</spec>
120 </hudson.triggers.TimerTrigger>
121 <com.cloudbees.jenkins.GitHubPushTrigger>
123 </com.cloudbees.jenkins.GitHubPushTrigger>
124 <hudson.triggers.SCMTrigger>
126 <ignorePostCommitHooks>false</ignorePostCommitHooks>
127 </hudson.triggers.SCMTrigger>
128 <org.jenkinsci.plugins.ghprb.GhprbTrigger>
130 <adminlist>tykeal</adminlist>
131 <allowMembersOfWhitelistedOrgsAsAdmin>false</allowMembersOfWhitelistedOrgsAsAdmin>
135 <orgslist>example-org</orgslist>
139 <triggerPhrase>^remerge$</triggerPhrase>
141 <onlyTriggerPhrase>true</onlyTriggerPhrase>
142 <useGitHubHooks>true</useGitHubHooks>
143 <permitAll>false</permitAll>
144 <autoCloseFailedPullRequests>false</autoCloseFailedPullRequests>
146 <org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
147 <commitStatusContext>Packer centos-$java-builder Merge</commitStatusContext>
148 </org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
150 </org.jenkinsci.plugins.ghprb.GhprbTrigger>
153 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
155 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
156 <fileId>ci-packer-cloud-env</fileId>
158 <variable>CLOUDENV</variable>
159 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
161 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
164 <propertiesContent>PACKER_VERSION=1.1.3
170 # SPDX-License-Identifier: EPL-1.0
171 ##############################################################################
172 # Copyright (c) 2017 The Linux Foundation and others.
174 # All rights reserved. This program and the accompanying materials
175 # are made available under the terms of the Eclipse Public License v1.0
176 # which accompanies this distribution, and is available at
177 # http://www.eclipse.org/legal/epl-v10.html
178 ##############################################################################
179 echo "---> packer-install.sh"
180 # The script checks for the packer binaries and installs the binary
181 # if its not available
183 # $PACKER_VERSION : Define a packer version passed as job paramter
185 PACKER_VERSION="${PACKER_VERSION:-1.1.3}"
187 # Ensure we fail the job if any steps fail.
190 if hash packer.io 2>/dev/null; then
191 echo "packer.io command is available."
193 echo "packer.io command not is available. Installing packer ..."
194 # Installs Hashicorp's Packer binary, required for verify & merge packer jobs
195 pushd "${WORKSPACE}"
196 wget -nv "https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip"
197 mkdir -p "${WORKSPACE}/bin"
198 unzip "packer_${PACKER_VERSION}_linux_amd64.zip" -d "${WORKSPACE}/bin/"
199 # rename packer to avoid conflict with binary in cracklib
200 mv "${WORKSPACE}/bin/packer" "${WORKSPACE}/bin/packer.io"
205 # SPDX-License-Identifier: EPL-1.0
206 ##############################################################################
207 # Copyright (c) 2017 The Linux Foundation and others.
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 echo "---> packer-validate.sh"
215 # The script validates an packers files.
217 # $CLOUDENV : Provides the cloud credential file.
219 # Ensure we fail the job if any steps fail.
222 PACKER_LOGS_DIR="$WORKSPACE/archives/packer"
223 mkdir -p "$PACKER_LOGS_DIR"
224 export PATH="${WORKSPACE}/bin:$PATH"
227 varfiles=(vars/*.json common-packer/vars/*.json)
228 templates=(templates/*.json)
230 for varfile in "${varfiles[@]}"; do
231 # cloud-env.json is a file containing credentials which is pulled in via
232 # CLOUDENV variable so skip it here. Also handle the case where a project
233 # has not vars/*.json file.
234 if [[ "$varfile" == *"cloud-env.json"* ]] || [[ "$varfile" == 'vars/*.json' ]]; then
238 echo "-----> Testing varfile: $varfile"
239 for template in "${templates[@]}"; do
240 export PACKER_LOG="yes"
241 export PACKER_LOG_PATH="$PACKER_LOGS_DIR/packer-validate-${varfile##*/}-${template##*/}.log"
242 if output=$(packer.io validate -var-file="$CLOUDENV" -var-file="$varfile" "$template"); then
243 echo "$template: $output"
245 echo "$template: $output"
251 </hudson.tasks.Shell>
254 # SPDX-License-Identifier: EPL-1.0
255 ##############################################################################
256 # Copyright (c) 2017 The Linux Foundation and others.
258 # All rights reserved. This program and the accompanying materials
259 # are made available under the terms of the Eclipse Public License v1.0
260 # which accompanies this distribution, and is available at
261 # http://www.eclipse.org/legal/epl-v10.html
262 ##############################################################################
263 echo "---> packer-clear-credentials.sh"
265 set +e # DO NOT cause build failure if any of the rm calls fail.
266 rm "$CLOUDENV"
269 </hudson.tasks.Shell>
270 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
272 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
273 <fileId>ci-packer-cloud-env</fileId>
275 <variable>CLOUDENV</variable>
276 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
278 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
281 <propertiesContent>PACKER_PLATFORM=centos
282 PACKER_TEMPLATE=java-builder
289 # SPDX-License-Identifier: EPL-1.0
290 ##############################################################################
291 # Copyright (c) 2017 The Linux Foundation and others.
293 # All rights reserved. This program and the accompanying materials
294 # are made available under the terms of the Eclipse Public License v1.0
295 # which accompanies this distribution, and is available at
296 # http://www.eclipse.org/legal/epl-v10.html
297 ##############################################################################
298 echo "---> packer-install.sh"
299 # The script checks for the packer binaries and installs the binary
300 # if its not available
302 # $PACKER_VERSION : Define a packer version passed as job paramter
304 PACKER_VERSION="${PACKER_VERSION:-1.1.3}"
306 # Ensure we fail the job if any steps fail.
309 if hash packer.io 2>/dev/null; then
310 echo "packer.io command is available."
312 echo "packer.io command not is available. Installing packer ..."
313 # Installs Hashicorp's Packer binary, required for verify & merge packer jobs
314 pushd "${WORKSPACE}"
315 wget -nv "https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip"
316 mkdir -p "${WORKSPACE}/bin"
317 unzip "packer_${PACKER_VERSION}_linux_amd64.zip" -d "${WORKSPACE}/bin/"
318 # rename packer to avoid conflict with binary in cracklib
319 mv "${WORKSPACE}/bin/packer" "${WORKSPACE}/bin/packer.io"
324 # SPDX-License-Identifier: EPL-1.0
325 ##############################################################################
326 # Copyright (c) 2017 The Linux Foundation and others.
328 # All rights reserved. This program and the accompanying materials
329 # are made available under the terms of the Eclipse Public License v1.0
330 # which accompanies this distribution, and is available at
331 # http://www.eclipse.org/legal/epl-v10.html
332 ##############################################################################
333 echo "---> packer-build.sh"
334 # The script builds an image using packer
335 # $CLOUDENV : Provides the cloud credential file.
336 # $PACKER_PLATFORM : Provides the packer platform.
337 # $PACKER_TEMPLATE : Provides the packer temnplate.
339 # Ensure we fail the job if any steps fail.
342 PACKER_LOGS_DIR="$WORKSPACE/archives/packer"
343 PACKER_BUILD_LOG="$PACKER_LOGS_DIR/packer-build.log"
344 mkdir -p "$PACKER_LOGS_DIR"
345 export PATH="${WORKSPACE}/bin:$PATH"
347 # Prioritize the project's own version of vars if available
348 platform_file="vars/$PACKER_PLATFORM.json"
349 if [ -f "$PACKER_PLATFORM" ]; then
350 platform_file="vars/$PACKER_PLATFORM.json"
354 export PACKER_LOG="yes"
355 export PACKER_LOG_PATH="$PACKER_BUILD_LOG"
356 packer.io build -color=false \
357 -var-file="$CLOUDENV" \
358 -var-file="$platform_file" \
359 "templates/$PACKER_TEMPLATE.json"
361 # Retrive the list of cloud providers
362 mapfile -t clouds < <(jq -r '.builders[].name' "templates/$PACKER_TEMPLATE.json")
364 # Split public/private clouds logs
365 for cloud in "${clouds[@]}"; do
366 grep -e "$cloud" "$PACKER_BUILD_LOG" > "$PACKER_LOGS_DIR/packer-build_$cloud.log" 2>&1
369 </hudson.tasks.Shell>
372 # SPDX-License-Identifier: EPL-1.0
373 ##############################################################################
374 # Copyright (c) 2017 The Linux Foundation and others.
376 # All rights reserved. This program and the accompanying materials
377 # are made available under the terms of the Eclipse Public License v1.0
378 # which accompanies this distribution, and is available at
379 # http://www.eclipse.org/legal/epl-v10.html
380 ##############################################################################
381 echo "---> packer-clear-credentials.sh"
383 set +e # DO NOT cause build failure if any of the rm calls fail.
384 rm "$CLOUDENV"
387 </hudson.tasks.Shell>
390 <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
394 # SPDX-License-Identifier: EPL-1.0
395 ##############################################################################
396 # Copyright (c) 2017 The Linux Foundation and others.
398 # All rights reserved. This program and the accompanying materials
399 # are made available under the terms of the Eclipse Public License v1.0
400 # which accompanies this distribution, and is available at
401 # http://www.eclipse.org/legal/epl-v10.html
402 ##############################################################################
403 echo "---> sysstat.sh"
404 set +e # DON'T fail build if script fails.
406 OS=$(facter operatingsystem)
407 case "$OS" in
409 SYSSTAT_PATH="/var/log/sysstat"
411 # Dont run the script when systat is not enabled by default
412 if ! grep --quiet 'ENABLED="true"' "/etc/default/sysstat"; then
417 SYSSTAT_PATH="/var/log/sa"
425 SAR_DIR="$WORKSPACE/archives/sar-reports"
426 mkdir -p "$SAR_DIR"
427 cp "$SYSSTAT_PATH/"* "$_"
428 # convert sar data to ascii format
429 while IFS="" read -r sarfilenum
431 [ -f "$sarfilenum" ] && LC_TIME=POSIX sar -A -f "$sarfilenum" > "$SAR_DIR/sar${sarfilenum//[!0-9]/}"
432 done < <(find "$SYSSTAT_PATH" -name "sa[0-9]*" || true)
434 # DON'T fail build if script fails.
437 </hudson.tasks.Shell>
438 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
440 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
441 <fileId>jenkins-log-archives-settings</fileId>
443 <variable>SETTINGS_FILE</variable>
444 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
446 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
449 <propertiesContent>SERVER_ID=logs</propertiesContent>
454 # SPDX-License-Identifier: EPL-1.0
455 ##############################################################################
456 # Copyright (c) 2017 The Linux Foundation and others.
458 # All rights reserved. This program and the accompanying materials
459 # are made available under the terms of the Eclipse Public License v1.0
460 # which accompanies this distribution, and is available at
461 # http://www.eclipse.org/legal/epl-v10.html
462 ##############################################################################
463 echo "---> create-netrc.sh"
465 # Ensure we fail the job if any steps fail.
468 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
469 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
470 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
471 -v x:username -o ":" -v x:password \
472 "$SETTINGS_FILE")
474 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
475 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
476 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
478 echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
480 </hudson.tasks.Shell>
483 # SPDX-License-Identifier: EPL-1.0
484 ##############################################################################
485 # Copyright (c) 2017 The Linux Foundation and others.
487 # All rights reserved. This program and the accompanying materials
488 # are made available under the terms of the Eclipse Public License v1.0
489 # which accompanies this distribution, and is available at
490 # http://www.eclipse.org/legal/epl-v10.html
491 ##############################################################################
492 echo "---> lftools-install.sh"
494 # Script to install lftools via a version passed in via lf-infra-parameters
496 # Required parameters:
498 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
499 # set to a strict version number like '1.2.3' or using
500 # PEP-440 definitions.
504 # >=1.0.0,<2.0.0
506 # By default a released version of lftools should always be used.
507 # The purpose of the 2 variables below is so that lftools devs can test
508 # unreleased versions of lftools. There are 2 methods to install a dev version
511 # 1) gerrit patch: Used to test a patch that has not yet been merged.
512 # To do this set something like this:
513 # LFTOOLS_MODE=gerrit
514 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
516 # 2) git branch: Used to install an lftools version from a specific branch.
517 # To use this set the variables as follows:
519 # LFTOOLS_REFSPEC=master
521 # 3) release : The intended use case and default setting.
522 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
524 LFTOOLS_MODE=release # release | git | gerrit
525 LFTOOLS_REFSPEC=master
527 # Ensure we fail the job if any steps fail.
528 # DO NOT set -u as virtualenv's activate script has unbound variables
531 virtualenv --quiet "/tmp/v/lftools"
532 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
533 source "/tmp/v/lftools/bin/activate"
534 pip install --quiet --upgrade pip
536 case $LFTOOLS_MODE in
538 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
540 git fetch origin "$LFTOOLS_REFSPEC"
541 git checkout FETCH_HEAD
542 pip install --quiet --upgrade -r requirements.txt
543 pip install --quiet --upgrade -e .
548 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
552 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
553 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
556 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
562 # pipdeptree prints out a lot of information because lftools pulls in many
563 # dependencies. Let's only print it if we want to debug.
564 # echo "----> Pip Dependency Tree"
565 # pip install --quiet --upgrade pipdeptree
569 # SPDX-License-Identifier: EPL-1.0
570 ##############################################################################
571 # Copyright (c) 2017 The Linux Foundation and others.
573 # All rights reserved. This program and the accompanying materials
574 # are made available under the terms of the Eclipse Public License v1.0
575 # which accompanies this distribution, and is available at
576 # http://www.eclipse.org/legal/epl-v10.html
577 ##############################################################################
578 echo "---> logs-deploy.sh"
580 # Ensure we fail the job if any steps fail.
583 set -x # Trace commands for this script to make debugging easier.
585 ARCHIVE_ARTIFACTS="${ARCHIVE_ARTIFACTS:-}"
586 LOGS_SERVER="${LOGS_SERVER:-None}"
588 if [ "${LOGS_SERVER}" == 'None' ]
590 set +x # Disable trace since we no longer need it
592 echo "WARNING: Logging server not set"
594 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
595 NEXUS_PATH="${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}"
596 BUILD_URL="${BUILD_URL}"
598 lftools deploy archives -p "$ARCHIVE_ARTIFACTS" "$NEXUS_URL" "$NEXUS_PATH" "$WORKSPACE"
599 lftools deploy logs "$NEXUS_URL" "$NEXUS_PATH" "$BUILD_URL"
601 set +x # Disable trace since we no longer need it.
603 echo "Build logs: <a href=\"$LOGS_SERVER/$NEXUS_PATH\">$LOGS_SERVER/$NEXUS_PATH</a>"
606 </hudson.tasks.Shell>
609 # SPDX-License-Identifier: EPL-1.0
610 ##############################################################################
611 # Copyright (c) 2017 The Linux Foundation and others.
613 # All rights reserved. This program and the accompanying materials
614 # are made available under the terms of the Eclipse Public License v1.0
615 # which accompanies this distribution, and is available at
616 # http://www.eclipse.org/legal/epl-v10.html
617 ##############################################################################
619 # Clear log credential files
620 rm "$SETTINGS_FILE"
623 </hudson.tasks.Shell>
624 <hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
625 <regexp>^Build logs: .*</regexp>
626 </hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
628 <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
629 <scriptOnlyIfFailure>false</scriptOnlyIfFailure>
630 <markBuildUnstable>false</markBuildUnstable>
631 </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
632 <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup">
634 <hudson.plugins.ws__cleanup.Pattern>
635 <pattern>**/*.jenkins-trigger</pattern>
637 </hudson.plugins.ws__cleanup.Pattern>
639 <deleteDirs>false</deleteDirs>
640 <cleanupMatrixParent>false</cleanupMatrixParent>
642 <cleanWhenSuccess>true</cleanWhenSuccess>
643 <cleanWhenUnstable>true</cleanWhenUnstable>
644 <cleanWhenFailure>true</cleanWhenFailure>
645 <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
646 <cleanWhenAborted>true</cleanWhenAborted>
647 <notFailBuild>true</notFailBuild>
648 </hudson.plugins.ws__cleanup.WsCleanup>
651 <com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsBuildWrapper/>
652 <hudson.plugins.build__timeout.BuildTimeoutWrapper>
653 <timeoutMinutes>90</timeoutMinutes>
654 <timeoutEnvVar>BUILD_TIMEOUT</timeoutEnvVar>
655 <failBuild>true</failBuild>
656 <writingDescription>false</writingDescription>
657 <timeoutPercentage>0</timeoutPercentage>
658 <timeoutMinutesElasticDefault>3</timeoutMinutesElasticDefault>
659 <timeoutType>absolute</timeoutType>
660 </hudson.plugins.build__timeout.BuildTimeoutWrapper>
661 <hudson.plugins.timestamper.TimestamperBuildWrapper/>
662 <com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
663 <user>test-credential</user>
664 </com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
665 <jenkins.plugins.openstack.compute.JCloudsOneOffSlave/>
666 <org.jenkinsci.plugins.configfiles.buildwrapper.ConfigFileBuildWrapper plugin="config-file-provider">
668 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
669 <fileId>npmrc</fileId>
670 <targetLocation>$HOME/.npmrc</targetLocation>
672 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
674 </org.jenkinsci.plugins.configfiles.buildwrapper.ConfigFileBuildWrapper>