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 <com.coravy.hudson.plugins.github.GithubProjectProperty plugin="github">
14 <projectUrl>$GIT_URL/$PROJECT/example-org/releng/ciman</projectUrl>
16 </com.coravy.hudson.plugins.github.GithubProjectProperty>
17 <hudson.model.ParametersDefinitionProperty>
18 <parameterDefinitions>
19 <hudson.model.StringParameterDefinition>
21 <description>Parameter to identify a Gerrit project. This is typically the
22 project repo path as exists in Gerrit.
23 For example: ofextensions/circuitsw
25 <defaultValue>releng/ciman</defaultValue>
26 </hudson.model.StringParameterDefinition>
27 <hudson.model.StringParameterDefinition>
29 <description>Stream is often set to the same name as 'branch' but can
30 sometimes be used as a name representing a project's release code
33 <defaultValue>master</defaultValue>
34 </hudson.model.StringParameterDefinition>
35 <hudson.model.StringParameterDefinition>
36 <name>GERRIT_PROJECT</name>
37 <description>Parameter to identify Gerrit project. This is typically the
38 project repo path as exists in Gerrit.
39 For example: ofextensions/circuitsw
41 Note that Gerrit will override this parameter automatically if a
42 job is triggered by Gerrit.
44 <defaultValue>releng/ciman</defaultValue>
45 </hudson.model.StringParameterDefinition>
46 <hudson.model.StringParameterDefinition>
47 <name>GERRIT_BRANCH</name>
48 <description>Parameter to identify a Gerrit branch.
50 Note that Gerrit will override this parameter automatically if a
51 job is triggered by Gerrit.
53 <defaultValue>master</defaultValue>
54 </hudson.model.StringParameterDefinition>
55 <hudson.model.StringParameterDefinition>
56 <name>GERRIT_REFSPEC</name>
57 <description>Parameter to identify a refspec when pulling from Gerrit.
59 Note that Gerrit will override this parameter automatically if a
60 job is triggered by Gerrit.
62 <defaultValue>refs/heads/master</defaultValue>
63 </hudson.model.StringParameterDefinition>
64 <hudson.model.StringParameterDefinition>
65 <name>LFTOOLS_VERSION</name>
66 <description>Version of lftools to install. Can be a specific version like
67 '0.6.0' or a PEP-440 definition.
68 https://www.python.org/dev/peps/pep-0440/
69 For example '<1.0.0' or '>=1.0.0,<2.0.0'.
71 <defaultValue><1.0.0</defaultValue>
72 </hudson.model.StringParameterDefinition>
73 <hudson.model.StringParameterDefinition>
75 <description>Maven selector to be used by shell scripts</description>
76 <defaultValue>/w/tools/hudson.tasks.Maven_MavenInstallation/mvn33</defaultValue>
77 </hudson.model.StringParameterDefinition>
78 <hudson.model.StringParameterDefinition>
79 <name>MAVEN_OPTS</name>
80 <description>Maven Java opts. Example: -Xmx1024m -XX:MaxPermSize=256m
83 </hudson.model.StringParameterDefinition>
84 <hudson.model.StringParameterDefinition>
85 <name>MAVEN_PARAMS</name>
86 <description>Maven parameters to pass to the mvn command.
89 </hudson.model.StringParameterDefinition>
90 <hudson.model.StringParameterDefinition>
92 <description>Maven selector to be used by shell scripts</description>
93 <defaultValue>/w/tools/hudson.tasks.Maven_MavenInstallation/mvn33/bin/mvn</defaultValue>
94 </hudson.model.StringParameterDefinition>
95 <hudson.model.StringParameterDefinition>
96 <name>STAGING_PROFILE_ID</name>
97 <description>Nexus staging profile ID.
99 <defaultValue>uuddlrlrba</defaultValue>
100 </hudson.model.StringParameterDefinition>
101 <hudson.model.StringParameterDefinition>
102 <name>ARCHIVE_ARTIFACTS</name>
103 <description>Artifacts to archive to the logs server.</description>
105 </hudson.model.StringParameterDefinition>
106 </parameterDefinitions>
107 </hudson.model.ParametersDefinitionProperty>
109 <scm class="hudson.plugins.git.GitSCM">
110 <configVersion>2</configVersion>
112 <hudson.plugins.git.UserRemoteConfig>
115 <url>git@github.com:example-org/releng/ciman</url>
116 <credentialsId>test-credential</credentialsId>
117 </hudson.plugins.git.UserRemoteConfig>
120 <hudson.plugins.git.BranchSpec>
122 </hudson.plugins.git.BranchSpec>
124 <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
125 <remotePoll>false</remotePoll>
126 <gitTool>Default</gitTool>
127 <submoduleCfg class="list"/>
132 <hudson.plugins.git.extensions.impl.BuildChooserSetting>
133 <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
134 </hudson.plugins.git.extensions.impl.BuildChooserSetting>
135 <hudson.plugins.git.extensions.impl.SubmoduleOption>
136 <disableSubmodules>false</disableSubmodules>
137 <recursiveSubmodules>true</recursiveSubmodules>
138 <trackingSubmodules>false</trackingSubmodules>
139 <parentCredentials>false</parentCredentials>
141 <timeout>10</timeout>
142 </hudson.plugins.git.extensions.impl.SubmoduleOption>
143 <hudson.plugins.git.extensions.impl.WipeWorkspace/>
146 <triggers class="vector">
147 <com.cloudbees.jenkins.GitHubPushTrigger>
149 </com.cloudbees.jenkins.GitHubPushTrigger>
150 <hudson.triggers.SCMTrigger>
152 <ignorePostCommitHooks>false</ignorePostCommitHooks>
153 </hudson.triggers.SCMTrigger>
154 <org.jenkinsci.plugins.ghprb.GhprbTrigger>
156 <adminlist>tykeal</adminlist>
157 <allowMembersOfWhitelistedOrgsAsAdmin>false</allowMembersOfWhitelistedOrgsAsAdmin>
161 <orgslist>example-org</orgslist>
165 <triggerPhrase>^remerge$</triggerPhrase>
167 <onlyTriggerPhrase>true</onlyTriggerPhrase>
168 <useGitHubHooks>true</useGitHubHooks>
169 <permitAll>false</permitAll>
170 <autoCloseFailedPullRequests>false</autoCloseFailedPullRequests>
172 <org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
173 <commitStatusContext>JJB Merge</commitStatusContext>
174 </org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
176 </org.jenkinsci.plugins.ghprb.GhprbTrigger>
180 <command>echo "quiet=on" > "$HOME/.wgetrc"</command>
181 </hudson.tasks.Shell>
183 <targets>--version</targets>
185 <mavenName>mvn33</mavenName>
186 <usePrivateRepository>false</usePrivateRepository>
187 <settings class="jenkins.mvn.DefaultSettingsProvider"/>
188 <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
189 </hudson.tasks.Maven>
191 <command>rm "$HOME/.wgetrc"</command>
192 </hudson.tasks.Shell>
193 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
195 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
196 <fileId>global-settings</fileId>
198 <variable>GLOBAL_SETTINGS_FILE</variable>
199 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
200 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
201 <fileId>aproject-settings</fileId>
203 <variable>SETTINGS_FILE</variable>
204 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
206 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
209 <propertiesContent>SERVER_ID=project-site</propertiesContent>
214 # SPDX-License-Identifier: EPL-1.0
215 ##############################################################################
216 # Copyright (c) 2017 The Linux Foundation and others.
218 # All rights reserved. This program and the accompanying materials
219 # are made available under the terms of the Eclipse Public License v1.0
220 # which accompanies this distribution, and is available at
221 # http://www.eclipse.org/legal/epl-v10.html
222 ##############################################################################
223 echo "---> create-netrc.sh"
225 # Ensure we fail the job if any steps fail.
228 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
229 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
230 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
231 -v x:username -o ":" -v x:password \
232 "$SETTINGS_FILE")
234 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
235 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
236 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
238 echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
240 </hudson.tasks.Shell>
243 <propertiesContent>DEPLOY_PATH=org.example.project/$STREAM</propertiesContent>
248 # SPDX-License-Identifier: EPL-1.0
249 ##############################################################################
250 # Copyright (c) 2017 The Linux Foundation and others.
252 # All rights reserved. This program and the accompanying materials
253 # are made available under the terms of the Eclipse Public License v1.0
254 # which accompanies this distribution, and is available at
255 # http://www.eclipse.org/legal/epl-v10.html
256 ##############################################################################
258 # This file contains a list of variables that are generally useful in many
259 # scripts. It is meant to be sourced in other scripts so that the variables can
262 MAVEN_OPTIONS="$(echo --show-version \
265 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
266 -Dmaven.repo.local=/tmp/r \
267 -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)"
268 echo "$MAVEN_OPTIONS"
271 # SPDX-License-Identifier: EPL-1.0
272 ##############################################################################
273 # Copyright (c) 2017 The Linux Foundation and others.
275 # All rights reserved. This program and the accompanying materials
276 # are made available under the terms of the Eclipse Public License v1.0
277 # which accompanies this distribution, and is available at
278 # http://www.eclipse.org/legal/epl-v10.html
279 ##############################################################################
281 # Generates javadoc in a Maven project.
283 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
284 # Ensure we fail the job if any steps fail.
288 JAVADOC_DIR="$WORKSPACE/archives/javadoc"
289 mkdir -p "$WORKSPACE/archives"
293 # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters.
294 # shellcheck disable=SC2086
295 $MVN clean install javadoc:aggregate \
296 -Pq -Dmaven.javadoc.skip=false \
298 -Dcheckstyle.skip=true \
299 -Dfindbugs.skip=true \
300 --global-settings "$GLOBAL_SETTINGS_FILE" \
301 --settings "$SETTINGS_FILE" \
302 $MAVEN_OPTIONS $MAVEN_PARAMS
304 mv "$WORKSPACE/target/site/apidocs" "$JAVADOC_DIR"
307 # SPDX-License-Identifier: EPL-1.0
308 ##############################################################################
309 # Copyright (c) 2017 The Linux Foundation and others.
311 # All rights reserved. This program and the accompanying materials
312 # are made available under the terms of the Eclipse Public License v1.0
313 # which accompanies this distribution, and is available at
314 # http://www.eclipse.org/legal/epl-v10.html
315 ##############################################################################
316 echo "---> lftools-install.sh"
318 # Script to install lftools via a version passed in via lf-infra-parameters
320 # Required parameters:
322 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
323 # set to a strict version number like '1.2.3' or using
324 # PEP-440 definitions.
328 # >=1.0.0,<2.0.0
330 # By default a released version of lftools should always be used.
331 # The purpose of the 2 variables below is so that lftools devs can test
332 # unreleased versions of lftools. There are 2 methods to install a dev version
335 # 1) gerrit patch: Used to test a patch that has not yet been merged.
336 # To do this set something like this:
337 # LFTOOLS_MODE=gerrit
338 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
340 # 2) git branch: Used to install an lftools version from a specific branch.
341 # To use this set the variables as follows:
343 # LFTOOLS_REFSPEC=master
345 # 3) release : The intended use case and default setting.
346 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
348 LFTOOLS_MODE=release # release | git | gerrit
349 LFTOOLS_REFSPEC=master
351 # Ensure we fail the job if any steps fail.
352 # DO NOT set -u as virtualenv's activate script has unbound variables
355 virtualenv --quiet "/tmp/v/lftools"
356 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
357 source "/tmp/v/lftools/bin/activate"
358 pip install --quiet --upgrade pip
360 case $LFTOOLS_MODE in
362 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
364 git fetch origin "$LFTOOLS_REFSPEC"
365 git checkout FETCH_HEAD
366 pip install --quiet --upgrade -r requirements.txt
367 pip install --quiet --upgrade -e .
372 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
376 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
377 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
380 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
386 # pipdeptree prints out a lot of information because lftools pulls in many
387 # dependencies. Let's only print it if we want to debug.
388 # echo "----> Pip Dependency Tree"
389 # pip install --quiet --upgrade pipdeptree
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 ##############################################################################
403 # Publishes javadoc to a Maven project.
405 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
406 # Ensure we fail the job if any steps fail.
410 JAVADOC_DIR="$WORKSPACE/archives/javadoc"
412 pushd "$JAVADOC_DIR"
413 zip -r "$WORKSPACE/javadoc.zip" .
416 lftools deploy nexus-zip "$NEXUS_URL" "javadoc" "$DEPLOY_PATH" "$WORKSPACE/javadoc.zip"
418 </hudson.tasks.Shell>
421 set +e # DO NOT cause build failure if any of the rm calls fail.
423 rm "$GLOBAL_SETTINGS_FILE" "$SETTINGS_FILE"
425 # In some cases we use the lf-provide-maven-settings macro to produce
426 # a "$HOME/.netrc" file containing credentials. Remove that file here
428 rm "$HOME/.netrc"
430 # DO NOT fail build if any of the above lines fail.
433 </hudson.tasks.Shell>
436 <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
440 # SPDX-License-Identifier: EPL-1.0
441 ##############################################################################
442 # Copyright (c) 2017 The Linux Foundation and others.
444 # All rights reserved. This program and the accompanying materials
445 # are made available under the terms of the Eclipse Public License v1.0
446 # which accompanies this distribution, and is available at
447 # http://www.eclipse.org/legal/epl-v10.html
448 ##############################################################################
449 echo "---> sysstat.sh"
450 set +e # DON'T fail build if script fails.
452 OS=$(facter operatingsystem)
453 case "$OS" in
455 SYSSTAT_PATH="/var/log/sysstat"
457 # Dont run the script when systat is not enabled by default
458 if ! grep --quiet 'ENABLED="true"' "/etc/default/sysstat"; then
463 SYSSTAT_PATH="/var/log/sa"
471 SAR_DIR="$WORKSPACE/archives/sar-reports"
472 mkdir -p "$SAR_DIR"
473 cp "$SYSSTAT_PATH/"* "$_"
474 # convert sar data to ascii format
475 while IFS="" read -r sarfilenum
477 [ -f "$sarfilenum" ] && LC_TIME=POSIX sar -A -f "$sarfilenum" > "$SAR_DIR/sar${sarfilenum//[!0-9]/}"
478 done < <(find "$SYSSTAT_PATH" -name "sa[0-9]*" || true)
480 # DON'T fail build if script fails.
483 </hudson.tasks.Shell>
484 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
486 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
487 <fileId>jenkins-log-archives-settings</fileId>
489 <variable>SETTINGS_FILE</variable>
490 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
492 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
495 <propertiesContent>SERVER_ID=logs</propertiesContent>
500 # SPDX-License-Identifier: EPL-1.0
501 ##############################################################################
502 # Copyright (c) 2017 The Linux Foundation and others.
504 # All rights reserved. This program and the accompanying materials
505 # are made available under the terms of the Eclipse Public License v1.0
506 # which accompanies this distribution, and is available at
507 # http://www.eclipse.org/legal/epl-v10.html
508 ##############################################################################
509 echo "---> create-netrc.sh"
511 # Ensure we fail the job if any steps fail.
514 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
515 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
516 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
517 -v x:username -o ":" -v x:password \
518 "$SETTINGS_FILE")
520 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
521 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
522 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
524 echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
526 </hudson.tasks.Shell>
529 # SPDX-License-Identifier: EPL-1.0
530 ##############################################################################
531 # Copyright (c) 2017 The Linux Foundation and others.
533 # All rights reserved. This program and the accompanying materials
534 # are made available under the terms of the Eclipse Public License v1.0
535 # which accompanies this distribution, and is available at
536 # http://www.eclipse.org/legal/epl-v10.html
537 ##############################################################################
538 echo "---> lftools-install.sh"
540 # Script to install lftools via a version passed in via lf-infra-parameters
542 # Required parameters:
544 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
545 # set to a strict version number like '1.2.3' or using
546 # PEP-440 definitions.
550 # >=1.0.0,<2.0.0
552 # By default a released version of lftools should always be used.
553 # The purpose of the 2 variables below is so that lftools devs can test
554 # unreleased versions of lftools. There are 2 methods to install a dev version
557 # 1) gerrit patch: Used to test a patch that has not yet been merged.
558 # To do this set something like this:
559 # LFTOOLS_MODE=gerrit
560 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
562 # 2) git branch: Used to install an lftools version from a specific branch.
563 # To use this set the variables as follows:
565 # LFTOOLS_REFSPEC=master
567 # 3) release : The intended use case and default setting.
568 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
570 LFTOOLS_MODE=release # release | git | gerrit
571 LFTOOLS_REFSPEC=master
573 # Ensure we fail the job if any steps fail.
574 # DO NOT set -u as virtualenv's activate script has unbound variables
577 virtualenv --quiet "/tmp/v/lftools"
578 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
579 source "/tmp/v/lftools/bin/activate"
580 pip install --quiet --upgrade pip
582 case $LFTOOLS_MODE in
584 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
586 git fetch origin "$LFTOOLS_REFSPEC"
587 git checkout FETCH_HEAD
588 pip install --quiet --upgrade -r requirements.txt
589 pip install --quiet --upgrade -e .
594 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
598 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
599 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
602 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
608 # pipdeptree prints out a lot of information because lftools pulls in many
609 # dependencies. Let's only print it if we want to debug.
610 # echo "----> Pip Dependency Tree"
611 # pip install --quiet --upgrade pipdeptree
615 # SPDX-License-Identifier: EPL-1.0
616 ##############################################################################
617 # Copyright (c) 2017 The Linux Foundation and others.
619 # All rights reserved. This program and the accompanying materials
620 # are made available under the terms of the Eclipse Public License v1.0
621 # which accompanies this distribution, and is available at
622 # http://www.eclipse.org/legal/epl-v10.html
623 ##############################################################################
624 echo "---> logs-deploy.sh"
626 # Ensure we fail the job if any steps fail.
629 set -x # Trace commands for this script to make debugging easier.
631 ARCHIVE_ARTIFACTS="${ARCHIVE_ARTIFACTS:-}"
632 LOGS_SERVER="${LOGS_SERVER:-None}"
634 if [ "${LOGS_SERVER}" == 'None' ]
636 set +x # Disable trace since we no longer need it
638 echo "WARNING: Logging server not set"
640 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
641 NEXUS_PATH="${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}"
642 BUILD_URL="${BUILD_URL}"
644 lftools deploy archives -p "$ARCHIVE_ARTIFACTS" "$NEXUS_URL" "$NEXUS_PATH" "$WORKSPACE"
645 lftools deploy logs "$NEXUS_URL" "$NEXUS_PATH" "$BUILD_URL"
647 set +x # Disable trace since we no longer need it.
649 echo "Build logs: <a href=\"$LOGS_SERVER/$NEXUS_PATH\">$LOGS_SERVER/$NEXUS_PATH</a>"
652 </hudson.tasks.Shell>
655 # SPDX-License-Identifier: EPL-1.0
656 ##############################################################################
657 # Copyright (c) 2017 The Linux Foundation and others.
659 # All rights reserved. This program and the accompanying materials
660 # are made available under the terms of the Eclipse Public License v1.0
661 # which accompanies this distribution, and is available at
662 # http://www.eclipse.org/legal/epl-v10.html
663 ##############################################################################
665 # Clear log credential files
666 rm "$SETTINGS_FILE"
669 </hudson.tasks.Shell>
670 <hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
671 <regexp>^Build logs: .*</regexp>
672 </hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
674 <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
675 <scriptOnlyIfFailure>false</scriptOnlyIfFailure>
676 <markBuildUnstable>false</markBuildUnstable>
677 </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
678 <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup">
680 <hudson.plugins.ws__cleanup.Pattern>
681 <pattern>**/*.jenkins-trigger</pattern>
683 </hudson.plugins.ws__cleanup.Pattern>
685 <deleteDirs>false</deleteDirs>
686 <cleanupMatrixParent>false</cleanupMatrixParent>
688 <cleanWhenSuccess>true</cleanWhenSuccess>
689 <cleanWhenUnstable>true</cleanWhenUnstable>
690 <cleanWhenFailure>true</cleanWhenFailure>
691 <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
692 <cleanWhenAborted>true</cleanWhenAborted>
693 <notFailBuild>true</notFailBuild>
694 </hudson.plugins.ws__cleanup.WsCleanup>
697 <com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsBuildWrapper/>
698 <hudson.plugins.build__timeout.BuildTimeoutWrapper>
699 <timeoutMinutes>30</timeoutMinutes>
700 <timeoutEnvVar>BUILD_TIMEOUT</timeoutEnvVar>
701 <failBuild>true</failBuild>
702 <writingDescription>false</writingDescription>
703 <timeoutPercentage>0</timeoutPercentage>
704 <timeoutMinutesElasticDefault>3</timeoutMinutesElasticDefault>
705 <timeoutType>absolute</timeoutType>
706 </hudson.plugins.build__timeout.BuildTimeoutWrapper>
707 <hudson.plugins.timestamper.TimestamperBuildWrapper/>
708 <com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
709 <user>test-credential</user>
710 </com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
711 <jenkins.plugins.openstack.compute.JCloudsOneOffSlave/>
712 <org.jenkinsci.plugins.configfiles.buildwrapper.ConfigFileBuildWrapper plugin="config-file-provider">
714 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
715 <fileId>npmrc</fileId>
716 <targetLocation>$HOME/.npmrc</targetLocation>
718 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
720 </org.jenkinsci.plugins.configfiles.buildwrapper.ConfigFileBuildWrapper>