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>
14 <projectUrl>$GIT_URL/$PROJECT/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>MAVEN_OPTS</name>
74 <description>Maven Java opts. Example: -Xmx1024m -XX:MaxPermSize=256m
77 </hudson.model.StringParameterDefinition>
78 <hudson.model.StringParameterDefinition>
79 <name>MAVEN_PARAMS</name>
80 <description>Maven parameters to pass to the mvn command.
83 </hudson.model.StringParameterDefinition>
84 <hudson.model.StringParameterDefinition>
86 <description>Maven selector to be used by shell scripts</description>
87 <defaultValue>/w/tools/hudson.tasks.Maven_MavenInstallation/mvn33/bin/mvn</defaultValue>
88 </hudson.model.StringParameterDefinition>
89 <hudson.model.StringParameterDefinition>
90 <name>STAGING_PROFILE_ID</name>
91 <description>Nexus staging profile ID.
93 <defaultValue>uuddlrlrba</defaultValue>
94 </hudson.model.StringParameterDefinition>
95 </parameterDefinitions>
96 </hudson.model.ParametersDefinitionProperty>
98 <scm class="hudson.plugins.git.GitSCM">
99 <configVersion>2</configVersion>
101 <hudson.plugins.git.UserRemoteConfig>
104 <url>git@github.com:example-org/releng/ciman</url>
105 <credentialsId>test-credential</credentialsId>
106 </hudson.plugins.git.UserRemoteConfig>
109 <hudson.plugins.git.BranchSpec>
111 </hudson.plugins.git.BranchSpec>
114 <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
115 <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
116 <authorOrCommitter>false</authorOrCommitter>
117 <wipeOutWorkspace>true</wipeOutWorkspace>
118 <pruneBranches>false</pruneBranches>
119 <remotePoll>false</remotePoll>
120 <gitTool>Default</gitTool>
121 <submoduleCfg class="list"/>
126 <skipTag>true</skipTag>
128 <useShallowClone>false</useShallowClone>
129 <ignoreNotifyCommit>false</ignoreNotifyCommit>
131 <hudson.plugins.git.extensions.impl.SubmoduleOption>
132 <disableSubmodules>false</disableSubmodules>
133 <recursiveSubmodules>true</recursiveSubmodules>
134 <trackingSubmodules>false</trackingSubmodules>
136 <timeout>10</timeout>
137 </hudson.plugins.git.extensions.impl.SubmoduleOption>
138 <hudson.plugins.git.extensions.impl.WipeWorkspace/>
141 <triggers class="vector">
142 <com.cloudbees.jenkins.GitHubPushTrigger>
144 </com.cloudbees.jenkins.GitHubPushTrigger>
145 <hudson.triggers.SCMTrigger>
147 <ignorePostCommitHooks>false</ignorePostCommitHooks>
148 </hudson.triggers.SCMTrigger>
149 <org.jenkinsci.plugins.ghprb.GhprbTrigger>
151 <adminlist>tykeal</adminlist>
152 <allowMembersOfWhitelistedOrgsAsAdmin>false</allowMembersOfWhitelistedOrgsAsAdmin>
156 <orgslist>example-org</orgslist>
158 <triggerPhrase>^remerge$</triggerPhrase>
159 <onlyTriggerPhrase>true</onlyTriggerPhrase>
160 <useGitHubHooks>true</useGitHubHooks>
161 <permitAll>false</permitAll>
162 <autoCloseFailedPullRequests>false</autoCloseFailedPullRequests>
164 <org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
165 <commitStatusContext>JJB Merge</commitStatusContext>
166 </org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
168 </org.jenkinsci.plugins.ghprb.GhprbTrigger>
172 <command>echo "quiet=on" > "$HOME/.wgetrc"</command>
173 </hudson.tasks.Shell>
175 <targets>--version</targets>
177 <mavenName>mvn33</mavenName>
178 <usePrivateRepository>false</usePrivateRepository>
179 <settings class="jenkins.mvn.DefaultSettingsProvider"/>
180 <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
181 </hudson.tasks.Maven>
183 <command>rm "$HOME/.wgetrc"</command>
184 </hudson.tasks.Shell>
185 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
187 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
188 <fileId>global-settings</fileId>
190 <variable>GLOBAL_SETTINGS_FILE</variable>
191 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
192 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
193 <fileId>aproject-settings</fileId>
195 <variable>SETTINGS_FILE</variable>
196 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
198 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
201 <propertiesContent>SERVER_ID=project-site</propertiesContent>
206 # SPDX-License-Identifier: EPL-1.0
207 ##############################################################################
208 # Copyright (c) 2017 The Linux Foundation and others.
210 # All rights reserved. This program and the accompanying materials
211 # are made available under the terms of the Eclipse Public License v1.0
212 # which accompanies this distribution, and is available at
213 # http://www.eclipse.org/legal/epl-v10.html
214 ##############################################################################
215 echo "---> create-netrc.sh"
217 # Ensure we fail the job if any steps fail.
220 NEXUS_URL="${NEXUS_URL:-$NEXUSPROXY}"
221 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
222 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
223 -v x:username -o ":" -v x:password \
224 "$SETTINGS_FILE")
226 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
227 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
228 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
230 echo "machine $machine login $user password $pass" > ~/.netrc
232 </hudson.tasks.Shell>
235 <propertiesContent>DEPLOY_PATH=org.example.project/$STREAM</propertiesContent>
240 # SPDX-License-Identifier: EPL-1.0
241 ##############################################################################
242 # Copyright (c) 2017 The Linux Foundation and others.
244 # All rights reserved. This program and the accompanying materials
245 # are made available under the terms of the Eclipse Public License v1.0
246 # which accompanies this distribution, and is available at
247 # http://www.eclipse.org/legal/epl-v10.html
248 ##############################################################################
250 # This file contains a list of variables that are generally useful in many
251 # scripts. It is meant to be sourced in other scripts so that the variables can
254 MAVEN_OPTIONS="$(echo --show-version \
257 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
258 -Dmaven.repo.local=/tmp/r \
259 -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)"
260 echo "$MAVEN_OPTIONS"
263 # SPDX-License-Identifier: EPL-1.0
264 ##############################################################################
265 # Copyright (c) 2017 The Linux Foundation and others.
267 # All rights reserved. This program and the accompanying materials
268 # are made available under the terms of the Eclipse Public License v1.0
269 # which accompanies this distribution, and is available at
270 # http://www.eclipse.org/legal/epl-v10.html
271 ##############################################################################
273 # Generates javadoc in a Maven project.
275 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
276 # Ensure we fail the job if any steps fail.
280 JAVADOC_DIR="$WORKSPACE/archives/javadoc"
281 mkdir -p "$WORKSPACE/archives"
285 # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters.
286 # shellcheck disable=SC2086
287 $MVN clean javadoc:aggregate \
288 --global-settings "$GLOBAL_SETTINGS_FILE" \
289 --settings "$SETTINGS_FILE" \
290 $MAVEN_PARAMS $MAVEN_OPTIONS
292 mv "$WORKSPACE/target/site/apidocs" "$JAVADOC_DIR"
295 # SPDX-License-Identifier: EPL-1.0
296 ##############################################################################
297 # Copyright (c) 2017 The Linux Foundation and others.
299 # All rights reserved. This program and the accompanying materials
300 # are made available under the terms of the Eclipse Public License v1.0
301 # which accompanies this distribution, and is available at
302 # http://www.eclipse.org/legal/epl-v10.html
303 ##############################################################################
304 echo "---> lftools-install.sh"
306 # Script to install lftools via a version passed in via lf-infra-parameters
308 # Required parameters:
310 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
311 # set to a strict version number like '1.2.3' or using
312 # PEP-440 definitions.
316 # >=1.0.0,<2.0.0
318 # By default a released version of lftools should always be used.
319 # The purpose of the 2 variables below is so that lftools devs can test
320 # unreleased versions of lftools. There are 2 methods to install a dev version
323 # 1) gerrit patch: Used to test a patch that has not yet been merged.
324 # To do this set something like this:
325 # LFTOOLS_MODE=gerrit
326 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
328 # 2) git branch: Used to install an lftools version from a specific branch.
329 # To use this set the variables as follows:
331 # LFTOOLS_REFSPEC=master
333 # 3) release : The intended use case and default setting.
334 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
336 LFTOOLS_MODE=release # release | git | gerrit
337 LFTOOLS_REFSPEC=master
339 # Ensure we fail the job if any steps fail.
340 # DO NOT set -u as virtualenv's activate script has unbound variables
343 virtualenv --quiet "/tmp/v/lftools"
344 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
345 source "/tmp/v/lftools/bin/activate"
346 pip install --quiet --upgrade pip
348 case $LFTOOLS_MODE in
350 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
352 git fetch origin "$LFTOOLS_REFSPEC"
353 git checkout FETCH_HEAD
354 pip install --quiet --upgrade -r requirements.txt
355 pip install --quiet --upgrade -e .
360 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
364 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
365 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
368 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
374 # pipdeptree prints out a lot of information because lftools pulls in many
375 # dependencies. Let's only print it if we want to debug.
376 # echo "----> Pip Dependency Tree"
377 # pip install --quiet --upgrade pipdeptree
381 # SPDX-License-Identifier: EPL-1.0
382 ##############################################################################
383 # Copyright (c) 2017 The Linux Foundation and others.
385 # All rights reserved. This program and the accompanying materials
386 # are made available under the terms of the Eclipse Public License v1.0
387 # which accompanies this distribution, and is available at
388 # http://www.eclipse.org/legal/epl-v10.html
389 ##############################################################################
391 # Publishes javadoc to a Maven project.
393 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
394 # Ensure we fail the job if any steps fail.
398 JAVADOC_DIR="$WORKSPACE/archives/javadoc"
400 pushd "$JAVADOC_DIR"
401 zip -r "$WORKSPACE/javadoc.zip" .
404 lftools deploy nexus-zip "$NEXUS_URL" "javadoc" "$DEPLOY_PATH" "$WORKSPACE/javadoc.zip"
406 </hudson.tasks.Shell>
409 set +e # DO NOT cause build failure if any of the rm calls fail.
411 rm "$GLOBAL_SETTINGS_FILE" "$SETTINGS_FILE"
413 # In some cases we use the lf-provide-maven-settings macro to produce
414 # a "$HOME/.netrc" file containing credentials. Remove that file here
416 rm "$HOME/.netrc"
418 # DO NOT fail build if any of the above lines fail.
421 </hudson.tasks.Shell>
424 <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
428 # SPDX-License-Identifier: EPL-1.0
429 ##############################################################################
430 # Copyright (c) 2017 The Linux Foundation and others.
432 # All rights reserved. This program and the accompanying materials
433 # are made available under the terms of the Eclipse Public License v1.0
434 # which accompanies this distribution, and is available at
435 # http://www.eclipse.org/legal/epl-v10.html
436 ##############################################################################
437 echo "---> sysstat.sh"
438 set +e # DON'T fail build if script fails.
440 OS=$(facter operatingsystem)
441 case "$OS" in
443 SYSSTAT_PATH="/var/log/sysstat"
445 # Dont run the script when systat is not enabled by default
446 if ! grep --quiet 'ENABLED="true"' "/etc/default/sysstat"; then
451 SYSSTAT_PATH="/var/log/sa"
459 SAR_DIR="$WORKSPACE/archives/sar-reports"
460 mkdir -p "$SAR_DIR"
461 cp "$SYSSTAT_PATH/"* "$_"
462 # convert sar data to ascii format
463 while IFS="" read -r s
465 [ -f "$s" ] && LC_TIME=POSIX sar -A -f "$s" > "$SAR_DIR/sar${s//[!0-9]/}"
466 done < <(find "$SYSSTAT_PATH" -name "sa[0-9]*" || true)
468 # DON'T fail build if script fails.
471 </hudson.tasks.Shell>
472 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
474 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
475 <fileId>jenkins-log-archives-settings</fileId>
477 <variable>SETTINGS_FILE</variable>
478 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
480 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
483 <propertiesContent>SERVER_ID=logs</propertiesContent>
488 # SPDX-License-Identifier: EPL-1.0
489 ##############################################################################
490 # Copyright (c) 2017 The Linux Foundation and others.
492 # All rights reserved. This program and the accompanying materials
493 # are made available under the terms of the Eclipse Public License v1.0
494 # which accompanies this distribution, and is available at
495 # http://www.eclipse.org/legal/epl-v10.html
496 ##############################################################################
497 echo "---> create-netrc.sh"
499 # Ensure we fail the job if any steps fail.
502 NEXUS_URL="${NEXUS_URL:-$NEXUSPROXY}"
503 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
504 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
505 -v x:username -o ":" -v x:password \
506 "$SETTINGS_FILE")
508 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
509 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
510 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
512 echo "machine $machine login $user password $pass" > ~/.netrc
514 </hudson.tasks.Shell>
517 # SPDX-License-Identifier: EPL-1.0
518 ##############################################################################
519 # Copyright (c) 2017 The Linux Foundation and others.
521 # All rights reserved. This program and the accompanying materials
522 # are made available under the terms of the Eclipse Public License v1.0
523 # which accompanies this distribution, and is available at
524 # http://www.eclipse.org/legal/epl-v10.html
525 ##############################################################################
526 echo "---> lftools-install.sh"
528 # Script to install lftools via a version passed in via lf-infra-parameters
530 # Required parameters:
532 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
533 # set to a strict version number like '1.2.3' or using
534 # PEP-440 definitions.
538 # >=1.0.0,<2.0.0
540 # By default a released version of lftools should always be used.
541 # The purpose of the 2 variables below is so that lftools devs can test
542 # unreleased versions of lftools. There are 2 methods to install a dev version
545 # 1) gerrit patch: Used to test a patch that has not yet been merged.
546 # To do this set something like this:
547 # LFTOOLS_MODE=gerrit
548 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
550 # 2) git branch: Used to install an lftools version from a specific branch.
551 # To use this set the variables as follows:
553 # LFTOOLS_REFSPEC=master
555 # 3) release : The intended use case and default setting.
556 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
558 LFTOOLS_MODE=release # release | git | gerrit
559 LFTOOLS_REFSPEC=master
561 # Ensure we fail the job if any steps fail.
562 # DO NOT set -u as virtualenv's activate script has unbound variables
565 virtualenv --quiet "/tmp/v/lftools"
566 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
567 source "/tmp/v/lftools/bin/activate"
568 pip install --quiet --upgrade pip
570 case $LFTOOLS_MODE in
572 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
574 git fetch origin "$LFTOOLS_REFSPEC"
575 git checkout FETCH_HEAD
576 pip install --quiet --upgrade -r requirements.txt
577 pip install --quiet --upgrade -e .
582 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
586 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
587 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
590 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
596 # pipdeptree prints out a lot of information because lftools pulls in many
597 # dependencies. Let's only print it if we want to debug.
598 # echo "----> Pip Dependency Tree"
599 # pip install --quiet --upgrade pipdeptree
603 # SPDX-License-Identifier: EPL-1.0
604 ##############################################################################
605 # Copyright (c) 2017 The Linux Foundation and others.
607 # All rights reserved. This program and the accompanying materials
608 # are made available under the terms of the Eclipse Public License v1.0
609 # which accompanies this distribution, and is available at
610 # http://www.eclipse.org/legal/epl-v10.html
611 ##############################################################################
612 echo "---> logs-deploy.sh"
614 # Ensure we fail the job if any steps fail.
617 set -x # Trace commands for this script to make debugging easier.
619 ARCHIVE_ARTIFACTS="${ARCHIVE_ARTIFACTS:-}"
620 LOGS_SERVER="${LOGS_SERVER:-None}"
622 if [ "${LOGS_SERVER}" == 'None' ]
624 set +x # Disable trace since we no longer need it
626 echo "WARNING: Logging server not set"
628 NEXUS_URL="${NEXUS_URL:-$NEXUSPROXY}"
629 NEXUS_PATH="${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}"
630 BUILD_URL="${BUILD_URL}"
632 lftools deploy archives -p "$ARCHIVE_ARTIFACTS" "$NEXUS_URL" "$NEXUS_PATH" "$WORKSPACE"
633 lftools deploy logs "$NEXUS_URL" "$NEXUS_PATH" "$BUILD_URL"
635 set +x # Disable trace since we no longer need it.
637 echo "Build logs: <a href=\"$LOGS_SERVER/$NEXUS_PATH\">$LOGS_SERVER/$NEXUS_PATH</a>"
640 </hudson.tasks.Shell>
643 # SPDX-License-Identifier: EPL-1.0
644 ##############################################################################
645 # Copyright (c) 2017 The Linux Foundation and others.
647 # All rights reserved. This program and the accompanying materials
648 # are made available under the terms of the Eclipse Public License v1.0
649 # which accompanies this distribution, and is available at
650 # http://www.eclipse.org/legal/epl-v10.html
651 ##############################################################################
653 # Clear log credential files
654 rm "$SETTINGS_FILE"
657 </hudson.tasks.Shell>
658 <hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
659 <regexp>^Build logs: .*</regexp>
660 </hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
662 <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
663 <scriptOnlyIfFailure>false</scriptOnlyIfFailure>
664 <markBuildUnstable>false</markBuildUnstable>
665 </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
666 <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup">
668 <hudson.plugins.ws__cleanup.Pattern>
669 <pattern>**/*.jenkins-trigger</pattern>
671 </hudson.plugins.ws__cleanup.Pattern>
673 <deleteDirs>false</deleteDirs>
674 <cleanupMatrixParent>false</cleanupMatrixParent>
676 <cleanWhenSuccess>true</cleanWhenSuccess>
677 <cleanWhenUnstable>true</cleanWhenUnstable>
678 <cleanWhenFailure>true</cleanWhenFailure>
679 <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
680 <cleanWhenAborted>true</cleanWhenAborted>
681 <notFailBuild>true</notFailBuild>
682 </hudson.plugins.ws__cleanup.WsCleanup>
685 <com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsBuildWrapper/>
686 <hudson.plugins.build__timeout.BuildTimeoutWrapper>
687 <timeoutMinutes>30</timeoutMinutes>
688 <timeoutEnvVar>BUILD_TIMEOUT</timeoutEnvVar>
689 <failBuild>true</failBuild>
690 <writingDescription>false</writingDescription>
691 <timeoutPercentage>0</timeoutPercentage>
692 <timeoutMinutesElasticDefault>3</timeoutMinutesElasticDefault>
693 <timeoutType>absolute</timeoutType>
694 </hudson.plugins.build__timeout.BuildTimeoutWrapper>
695 <hudson.plugins.timestamper.TimestamperBuildWrapper/>
696 <com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
697 <user>test-credential</user>
698 </com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
699 <jenkins.plugins.openstack.compute.JCloudsOneOffSlave/>