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.
233 if [[ "$varfile" == *"cloud-env.json"* ]]; then
237 echo "-----> Testing varfile: $varfile"
238 for template in "${templates[@]}"; do
239 export PACKER_LOG="yes"
240 export PACKER_LOG_PATH="$PACKER_LOGS_DIR/packer-validate-${varfile##*/}-${template##*/}.log"
241 if output=$(packer.io validate -var-file="$CLOUDENV" -var-file="$varfile" "$template"); then
242 echo "$template: $output"
244 echo "$template: $output"
250 </hudson.tasks.Shell>
253 # SPDX-License-Identifier: EPL-1.0
254 ##############################################################################
255 # Copyright (c) 2017 The Linux Foundation and others.
257 # All rights reserved. This program and the accompanying materials
258 # are made available under the terms of the Eclipse Public License v1.0
259 # which accompanies this distribution, and is available at
260 # http://www.eclipse.org/legal/epl-v10.html
261 ##############################################################################
262 echo "---> packer-clear-credentials.sh"
264 set +e # DO NOT cause build failure if any of the rm calls fail.
265 rm "$CLOUDENV"
268 </hudson.tasks.Shell>
269 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
271 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
272 <fileId>ci-packer-cloud-env</fileId>
274 <variable>CLOUDENV</variable>
275 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
277 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
280 <propertiesContent>PACKER_PLATFORM=centos
281 PACKER_TEMPLATE=java-builder
288 # SPDX-License-Identifier: EPL-1.0
289 ##############################################################################
290 # Copyright (c) 2017 The Linux Foundation and others.
292 # All rights reserved. This program and the accompanying materials
293 # are made available under the terms of the Eclipse Public License v1.0
294 # which accompanies this distribution, and is available at
295 # http://www.eclipse.org/legal/epl-v10.html
296 ##############################################################################
297 echo "---> packer-install.sh"
298 # The script checks for the packer binaries and installs the binary
299 # if its not available
301 # $PACKER_VERSION : Define a packer version passed as job paramter
303 PACKER_VERSION="${PACKER_VERSION:-1.1.3}"
305 # Ensure we fail the job if any steps fail.
308 if hash packer.io 2>/dev/null; then
309 echo "packer.io command is available."
311 echo "packer.io command not is available. Installing packer ..."
312 # Installs Hashicorp's Packer binary, required for verify & merge packer jobs
313 pushd "${WORKSPACE}"
314 wget -nv "https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip"
315 mkdir -p "${WORKSPACE}/bin"
316 unzip "packer_${PACKER_VERSION}_linux_amd64.zip" -d "${WORKSPACE}/bin/"
317 # rename packer to avoid conflict with binary in cracklib
318 mv "${WORKSPACE}/bin/packer" "${WORKSPACE}/bin/packer.io"
323 # SPDX-License-Identifier: EPL-1.0
324 ##############################################################################
325 # Copyright (c) 2017 The Linux Foundation and others.
327 # All rights reserved. This program and the accompanying materials
328 # are made available under the terms of the Eclipse Public License v1.0
329 # which accompanies this distribution, and is available at
330 # http://www.eclipse.org/legal/epl-v10.html
331 ##############################################################################
332 echo "---> packer-build.sh"
333 # The script builds an image using packer
334 # $CLOUDENV : Provides the cloud credential file.
335 # $PACKER_PLATFORM : Provides the packer platform.
336 # $PACKER_TEMPLATE : Provides the packer temnplate.
338 # Ensure we fail the job if any steps fail.
341 PACKER_LOGS_DIR="$WORKSPACE/archives/packer"
342 PACKER_BUILD_LOG="$PACKER_LOGS_DIR/packer-build.log"
343 mkdir -p "$PACKER_LOGS_DIR"
344 export PATH="${WORKSPACE}/bin:$PATH"
346 # Prioritize the project's own version of vars if available
347 platform_file="vars/$PACKER_PLATFORM.json"
348 if [ -f "$PACKER_PLATFORM" ]; then
349 platform_file="vars/$PACKER_PLATFORM.json"
353 export PACKER_LOG="yes"
354 export PACKER_LOG_PATH="$PACKER_BUILD_LOG"
355 packer.io build -color=false \
356 -var-file="$CLOUDENV" \
357 -var-file="$platform_file" \
358 "templates/$PACKER_TEMPLATE.json"
360 # Retrive the list of cloud providers
361 mapfile -t clouds < <(jq -r '.builders[].name' "templates/$PACKER_TEMPLATE.json")
363 # Split public/private clouds logs
364 for cloud in "${clouds[@]}"; do
365 grep -e "$cloud" "$PACKER_BUILD_LOG" > "$PACKER_LOGS_DIR/packer-build_$cloud.log" 2>&1
368 </hudson.tasks.Shell>
371 # SPDX-License-Identifier: EPL-1.0
372 ##############################################################################
373 # Copyright (c) 2017 The Linux Foundation and others.
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 "---> packer-clear-credentials.sh"
382 set +e # DO NOT cause build failure if any of the rm calls fail.
383 rm "$CLOUDENV"
386 </hudson.tasks.Shell>
389 <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
393 # SPDX-License-Identifier: EPL-1.0
394 ##############################################################################
395 # Copyright (c) 2017 The Linux Foundation and others.
397 # All rights reserved. This program and the accompanying materials
398 # are made available under the terms of the Eclipse Public License v1.0
399 # which accompanies this distribution, and is available at
400 # http://www.eclipse.org/legal/epl-v10.html
401 ##############################################################################
402 echo "---> sysstat.sh"
403 set +e # DON'T fail build if script fails.
405 OS=$(facter operatingsystem)
406 case "$OS" in
408 SYSSTAT_PATH="/var/log/sysstat"
410 # Dont run the script when systat is not enabled by default
411 if ! grep --quiet 'ENABLED="true"' "/etc/default/sysstat"; then
416 SYSSTAT_PATH="/var/log/sa"
424 SAR_DIR="$WORKSPACE/archives/sar-reports"
425 mkdir -p "$SAR_DIR"
426 cp "$SYSSTAT_PATH/"* "$_"
427 # convert sar data to ascii format
428 while IFS="" read -r sarfilenum
430 [ -f "$sarfilenum" ] && LC_TIME=POSIX sar -A -f "$sarfilenum" > "$SAR_DIR/sar${sarfilenum//[!0-9]/}"
431 done < <(find "$SYSSTAT_PATH" -name "sa[0-9]*" || true)
433 # DON'T fail build if script fails.
436 </hudson.tasks.Shell>
437 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
439 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
440 <fileId>jenkins-log-archives-settings</fileId>
442 <variable>SETTINGS_FILE</variable>
443 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
445 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
448 <propertiesContent>SERVER_ID=logs</propertiesContent>
453 # SPDX-License-Identifier: EPL-1.0
454 ##############################################################################
455 # Copyright (c) 2017 The Linux Foundation and others.
457 # All rights reserved. This program and the accompanying materials
458 # are made available under the terms of the Eclipse Public License v1.0
459 # which accompanies this distribution, and is available at
460 # http://www.eclipse.org/legal/epl-v10.html
461 ##############################################################################
462 echo "---> create-netrc.sh"
464 # Ensure we fail the job if any steps fail.
467 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
468 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
469 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
470 -v x:username -o ":" -v x:password \
471 "$SETTINGS_FILE")
473 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
474 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
475 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
477 echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
479 </hudson.tasks.Shell>
482 # SPDX-License-Identifier: EPL-1.0
483 ##############################################################################
484 # Copyright (c) 2017 The Linux Foundation and others.
486 # All rights reserved. This program and the accompanying materials
487 # are made available under the terms of the Eclipse Public License v1.0
488 # which accompanies this distribution, and is available at
489 # http://www.eclipse.org/legal/epl-v10.html
490 ##############################################################################
491 echo "---> lftools-install.sh"
493 # Script to install lftools via a version passed in via lf-infra-parameters
495 # Required parameters:
497 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
498 # set to a strict version number like '1.2.3' or using
499 # PEP-440 definitions.
503 # >=1.0.0,<2.0.0
505 # By default a released version of lftools should always be used.
506 # The purpose of the 2 variables below is so that lftools devs can test
507 # unreleased versions of lftools. There are 2 methods to install a dev version
510 # 1) gerrit patch: Used to test a patch that has not yet been merged.
511 # To do this set something like this:
512 # LFTOOLS_MODE=gerrit
513 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
515 # 2) git branch: Used to install an lftools version from a specific branch.
516 # To use this set the variables as follows:
518 # LFTOOLS_REFSPEC=master
520 # 3) release : The intended use case and default setting.
521 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
523 LFTOOLS_MODE=release # release | git | gerrit
524 LFTOOLS_REFSPEC=master
526 # Ensure we fail the job if any steps fail.
527 # DO NOT set -u as virtualenv's activate script has unbound variables
530 virtualenv --quiet "/tmp/v/lftools"
531 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
532 source "/tmp/v/lftools/bin/activate"
533 pip install --quiet --upgrade pip
535 case $LFTOOLS_MODE in
537 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
539 git fetch origin "$LFTOOLS_REFSPEC"
540 git checkout FETCH_HEAD
541 pip install --quiet --upgrade -r requirements.txt
542 pip install --quiet --upgrade -e .
547 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
551 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
552 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
555 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
561 # pipdeptree prints out a lot of information because lftools pulls in many
562 # dependencies. Let's only print it if we want to debug.
563 # echo "----> Pip Dependency Tree"
564 # pip install --quiet --upgrade pipdeptree
568 # SPDX-License-Identifier: EPL-1.0
569 ##############################################################################
570 # Copyright (c) 2017 The Linux Foundation and others.
572 # All rights reserved. This program and the accompanying materials
573 # are made available under the terms of the Eclipse Public License v1.0
574 # which accompanies this distribution, and is available at
575 # http://www.eclipse.org/legal/epl-v10.html
576 ##############################################################################
577 echo "---> logs-deploy.sh"
579 # Ensure we fail the job if any steps fail.
582 set -x # Trace commands for this script to make debugging easier.
584 ARCHIVE_ARTIFACTS="${ARCHIVE_ARTIFACTS:-}"
585 LOGS_SERVER="${LOGS_SERVER:-None}"
587 if [ "${LOGS_SERVER}" == 'None' ]
589 set +x # Disable trace since we no longer need it
591 echo "WARNING: Logging server not set"
593 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
594 NEXUS_PATH="${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}"
595 BUILD_URL="${BUILD_URL}"
597 lftools deploy archives -p "$ARCHIVE_ARTIFACTS" "$NEXUS_URL" "$NEXUS_PATH" "$WORKSPACE"
598 lftools deploy logs "$NEXUS_URL" "$NEXUS_PATH" "$BUILD_URL"
600 set +x # Disable trace since we no longer need it.
602 echo "Build logs: <a href=\"$LOGS_SERVER/$NEXUS_PATH\">$LOGS_SERVER/$NEXUS_PATH</a>"
605 </hudson.tasks.Shell>
608 # SPDX-License-Identifier: EPL-1.0
609 ##############################################################################
610 # Copyright (c) 2017 The Linux Foundation and others.
612 # All rights reserved. This program and the accompanying materials
613 # are made available under the terms of the Eclipse Public License v1.0
614 # which accompanies this distribution, and is available at
615 # http://www.eclipse.org/legal/epl-v10.html
616 ##############################################################################
618 # Clear log credential files
619 rm "$SETTINGS_FILE"
622 </hudson.tasks.Shell>
623 <hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
624 <regexp>^Build logs: .*</regexp>
625 </hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
627 <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
628 <scriptOnlyIfFailure>false</scriptOnlyIfFailure>
629 <markBuildUnstable>false</markBuildUnstable>
630 </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
631 <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup">
633 <hudson.plugins.ws__cleanup.Pattern>
634 <pattern>**/*.jenkins-trigger</pattern>
636 </hudson.plugins.ws__cleanup.Pattern>
638 <deleteDirs>false</deleteDirs>
639 <cleanupMatrixParent>false</cleanupMatrixParent>
641 <cleanWhenSuccess>true</cleanWhenSuccess>
642 <cleanWhenUnstable>true</cleanWhenUnstable>
643 <cleanWhenFailure>true</cleanWhenFailure>
644 <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
645 <cleanWhenAborted>true</cleanWhenAborted>
646 <notFailBuild>true</notFailBuild>
647 </hudson.plugins.ws__cleanup.WsCleanup>
650 <com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsBuildWrapper/>
651 <hudson.plugins.build__timeout.BuildTimeoutWrapper>
652 <timeoutMinutes>45</timeoutMinutes>
653 <timeoutEnvVar>BUILD_TIMEOUT</timeoutEnvVar>
654 <failBuild>true</failBuild>
655 <writingDescription>false</writingDescription>
656 <timeoutPercentage>0</timeoutPercentage>
657 <timeoutMinutesElasticDefault>3</timeoutMinutesElasticDefault>
658 <timeoutType>absolute</timeoutType>
659 </hudson.plugins.build__timeout.BuildTimeoutWrapper>
660 <hudson.plugins.timestamper.TimestamperBuildWrapper/>
661 <com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
662 <user>test-credential</user>
663 </com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
664 <jenkins.plugins.openstack.compute.JCloudsOneOffSlave/>
665 <org.jenkinsci.plugins.configfiles.buildwrapper.ConfigFileBuildWrapper plugin="config-file-provider">
667 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
668 <fileId>npmrc</fileId>
669 <targetLocation>$HOME/.npmrc</targetLocation>
671 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
673 </org.jenkinsci.plugins.configfiles.buildwrapper.ConfigFileBuildWrapper>