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>
74 <description>Maven selector to be used by shell scripts</description>
75 <defaultValue>/w/tools/hudson.tasks.Maven_MavenInstallation/mvn33</defaultValue>
76 </hudson.model.StringParameterDefinition>
77 <hudson.model.StringParameterDefinition>
78 <name>MAVEN_OPTS</name>
79 <description>Maven Java opts. Example: -Xmx1024m -XX:MaxPermSize=256m
82 </hudson.model.StringParameterDefinition>
83 <hudson.model.StringParameterDefinition>
84 <name>MAVEN_PARAMS</name>
85 <description>Maven parameters to pass to the mvn command.
88 </hudson.model.StringParameterDefinition>
89 <hudson.model.StringParameterDefinition>
91 <description>Maven selector to be used by shell scripts</description>
92 <defaultValue>/w/tools/hudson.tasks.Maven_MavenInstallation/mvn33/bin/mvn</defaultValue>
93 </hudson.model.StringParameterDefinition>
94 <hudson.model.StringParameterDefinition>
95 <name>STAGING_PROFILE_ID</name>
96 <description>Nexus staging profile ID.
98 <defaultValue>uuddlrlrba</defaultValue>
99 </hudson.model.StringParameterDefinition>
100 </parameterDefinitions>
101 </hudson.model.ParametersDefinitionProperty>
103 <scm class="hudson.plugins.git.GitSCM">
104 <configVersion>2</configVersion>
106 <hudson.plugins.git.UserRemoteConfig>
109 <url>git@github.com:example-org/releng/ciman</url>
110 <credentialsId>test-credential</credentialsId>
111 </hudson.plugins.git.UserRemoteConfig>
114 <hudson.plugins.git.BranchSpec>
116 </hudson.plugins.git.BranchSpec>
119 <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
120 <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
121 <authorOrCommitter>false</authorOrCommitter>
122 <wipeOutWorkspace>true</wipeOutWorkspace>
123 <pruneBranches>false</pruneBranches>
124 <remotePoll>false</remotePoll>
125 <gitTool>Default</gitTool>
126 <submoduleCfg class="list"/>
131 <skipTag>true</skipTag>
133 <useShallowClone>false</useShallowClone>
134 <ignoreNotifyCommit>false</ignoreNotifyCommit>
136 <hudson.plugins.git.extensions.impl.SubmoduleOption>
137 <disableSubmodules>false</disableSubmodules>
138 <recursiveSubmodules>true</recursiveSubmodules>
139 <trackingSubmodules>false</trackingSubmodules>
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>
163 <triggerPhrase>^remerge$</triggerPhrase>
164 <onlyTriggerPhrase>true</onlyTriggerPhrase>
165 <useGitHubHooks>true</useGitHubHooks>
166 <permitAll>false</permitAll>
167 <autoCloseFailedPullRequests>false</autoCloseFailedPullRequests>
169 <org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
170 <commitStatusContext>JJB Merge</commitStatusContext>
171 </org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
173 </org.jenkinsci.plugins.ghprb.GhprbTrigger>
177 <command>echo "quiet=on" > "$HOME/.wgetrc"</command>
178 </hudson.tasks.Shell>
180 <targets>--version</targets>
182 <mavenName>mvn33</mavenName>
183 <usePrivateRepository>false</usePrivateRepository>
184 <settings class="jenkins.mvn.DefaultSettingsProvider"/>
185 <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
186 </hudson.tasks.Maven>
188 <command>rm "$HOME/.wgetrc"</command>
189 </hudson.tasks.Shell>
190 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
192 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
193 <fileId>global-settings</fileId>
195 <variable>GLOBAL_SETTINGS_FILE</variable>
196 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
197 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
198 <fileId>aproject-settings</fileId>
200 <variable>SETTINGS_FILE</variable>
201 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
203 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
206 <propertiesContent>SERVER_ID=project-site</propertiesContent>
211 # SPDX-License-Identifier: EPL-1.0
212 ##############################################################################
213 # Copyright (c) 2017 The Linux Foundation and others.
215 # All rights reserved. This program and the accompanying materials
216 # are made available under the terms of the Eclipse Public License v1.0
217 # which accompanies this distribution, and is available at
218 # http://www.eclipse.org/legal/epl-v10.html
219 ##############################################################################
220 echo "---> create-netrc.sh"
222 # Ensure we fail the job if any steps fail.
225 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
226 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
227 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
228 -v x:username -o ":" -v x:password \
229 "$SETTINGS_FILE")
231 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
232 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
233 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
235 echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
237 </hudson.tasks.Shell>
240 <propertiesContent>DEPLOY_PATH=org.example.project/$STREAM</propertiesContent>
245 # SPDX-License-Identifier: EPL-1.0
246 ##############################################################################
247 # Copyright (c) 2017 The Linux Foundation and others.
249 # All rights reserved. This program and the accompanying materials
250 # are made available under the terms of the Eclipse Public License v1.0
251 # which accompanies this distribution, and is available at
252 # http://www.eclipse.org/legal/epl-v10.html
253 ##############################################################################
255 # This file contains a list of variables that are generally useful in many
256 # scripts. It is meant to be sourced in other scripts so that the variables can
259 MAVEN_OPTIONS="$(echo --show-version \
262 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
263 -Dmaven.repo.local=/tmp/r \
264 -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)"
265 echo "$MAVEN_OPTIONS"
268 # SPDX-License-Identifier: EPL-1.0
269 ##############################################################################
270 # Copyright (c) 2017 The Linux Foundation and others.
272 # All rights reserved. This program and the accompanying materials
273 # are made available under the terms of the Eclipse Public License v1.0
274 # which accompanies this distribution, and is available at
275 # http://www.eclipse.org/legal/epl-v10.html
276 ##############################################################################
278 # Generates javadoc in a Maven project.
280 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
281 # Ensure we fail the job if any steps fail.
285 JAVADOC_DIR="$WORKSPACE/archives/javadoc"
286 mkdir -p "$WORKSPACE/archives"
290 # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters.
291 # shellcheck disable=SC2086
292 $MVN clean install javadoc:aggregate \
294 -Dcheckstyle.skip=true \
295 -Dfindbugs.skip=true \
296 --global-settings "$GLOBAL_SETTINGS_FILE" \
297 --settings "$SETTINGS_FILE" \
298 $MAVEN_PARAMS $MAVEN_OPTIONS
300 mv "$WORKSPACE/target/site/apidocs" "$JAVADOC_DIR"
303 # SPDX-License-Identifier: EPL-1.0
304 ##############################################################################
305 # Copyright (c) 2017 The Linux Foundation and others.
307 # All rights reserved. This program and the accompanying materials
308 # are made available under the terms of the Eclipse Public License v1.0
309 # which accompanies this distribution, and is available at
310 # http://www.eclipse.org/legal/epl-v10.html
311 ##############################################################################
312 echo "---> lftools-install.sh"
314 # Script to install lftools via a version passed in via lf-infra-parameters
316 # Required parameters:
318 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
319 # set to a strict version number like '1.2.3' or using
320 # PEP-440 definitions.
324 # >=1.0.0,<2.0.0
326 # By default a released version of lftools should always be used.
327 # The purpose of the 2 variables below is so that lftools devs can test
328 # unreleased versions of lftools. There are 2 methods to install a dev version
331 # 1) gerrit patch: Used to test a patch that has not yet been merged.
332 # To do this set something like this:
333 # LFTOOLS_MODE=gerrit
334 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
336 # 2) git branch: Used to install an lftools version from a specific branch.
337 # To use this set the variables as follows:
339 # LFTOOLS_REFSPEC=master
341 # 3) release : The intended use case and default setting.
342 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
344 LFTOOLS_MODE=release # release | git | gerrit
345 LFTOOLS_REFSPEC=master
347 # Ensure we fail the job if any steps fail.
348 # DO NOT set -u as virtualenv's activate script has unbound variables
351 virtualenv --quiet "/tmp/v/lftools"
352 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
353 source "/tmp/v/lftools/bin/activate"
354 pip install --quiet --upgrade pip
356 case $LFTOOLS_MODE in
358 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
360 git fetch origin "$LFTOOLS_REFSPEC"
361 git checkout FETCH_HEAD
362 pip install --quiet --upgrade -r requirements.txt
363 pip install --quiet --upgrade -e .
368 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
372 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
373 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
376 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
382 # pipdeptree prints out a lot of information because lftools pulls in many
383 # dependencies. Let's only print it if we want to debug.
384 # echo "----> Pip Dependency Tree"
385 # pip install --quiet --upgrade pipdeptree
389 # SPDX-License-Identifier: EPL-1.0
390 ##############################################################################
391 # Copyright (c) 2017 The Linux Foundation and others.
393 # All rights reserved. This program and the accompanying materials
394 # are made available under the terms of the Eclipse Public License v1.0
395 # which accompanies this distribution, and is available at
396 # http://www.eclipse.org/legal/epl-v10.html
397 ##############################################################################
399 # Publishes javadoc to a Maven project.
401 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
402 # Ensure we fail the job if any steps fail.
406 JAVADOC_DIR="$WORKSPACE/archives/javadoc"
408 pushd "$JAVADOC_DIR"
409 zip -r "$WORKSPACE/javadoc.zip" .
412 lftools deploy nexus-zip "$NEXUS_URL" "javadoc" "$DEPLOY_PATH" "$WORKSPACE/javadoc.zip"
414 </hudson.tasks.Shell>
417 set +e # DO NOT cause build failure if any of the rm calls fail.
419 rm "$GLOBAL_SETTINGS_FILE" "$SETTINGS_FILE"
421 # In some cases we use the lf-provide-maven-settings macro to produce
422 # a "$HOME/.netrc" file containing credentials. Remove that file here
424 rm "$HOME/.netrc"
426 # DO NOT fail build if any of the above lines fail.
429 </hudson.tasks.Shell>
432 <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
436 # SPDX-License-Identifier: EPL-1.0
437 ##############################################################################
438 # Copyright (c) 2017 The Linux Foundation and others.
440 # All rights reserved. This program and the accompanying materials
441 # are made available under the terms of the Eclipse Public License v1.0
442 # which accompanies this distribution, and is available at
443 # http://www.eclipse.org/legal/epl-v10.html
444 ##############################################################################
445 echo "---> sysstat.sh"
446 set +e # DON'T fail build if script fails.
448 OS=$(facter operatingsystem)
449 case "$OS" in
451 SYSSTAT_PATH="/var/log/sysstat"
453 # Dont run the script when systat is not enabled by default
454 if ! grep --quiet 'ENABLED="true"' "/etc/default/sysstat"; then
459 SYSSTAT_PATH="/var/log/sa"
467 SAR_DIR="$WORKSPACE/archives/sar-reports"
468 mkdir -p "$SAR_DIR"
469 cp "$SYSSTAT_PATH/"* "$_"
470 # convert sar data to ascii format
471 while IFS="" read -r s
473 [ -f "$s" ] && LC_TIME=POSIX sar -A -f "$s" > "$SAR_DIR/sar${s//[!0-9]/}"
474 done < <(find "$SYSSTAT_PATH" -name "sa[0-9]*" || true)
476 # DON'T fail build if script fails.
479 </hudson.tasks.Shell>
480 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
482 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
483 <fileId>jenkins-log-archives-settings</fileId>
485 <variable>SETTINGS_FILE</variable>
486 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
488 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
491 <propertiesContent>SERVER_ID=logs</propertiesContent>
496 # SPDX-License-Identifier: EPL-1.0
497 ##############################################################################
498 # Copyright (c) 2017 The Linux Foundation and others.
500 # All rights reserved. This program and the accompanying materials
501 # are made available under the terms of the Eclipse Public License v1.0
502 # which accompanies this distribution, and is available at
503 # http://www.eclipse.org/legal/epl-v10.html
504 ##############################################################################
505 echo "---> create-netrc.sh"
507 # Ensure we fail the job if any steps fail.
510 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
511 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
512 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
513 -v x:username -o ":" -v x:password \
514 "$SETTINGS_FILE")
516 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
517 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
518 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
520 echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
522 </hudson.tasks.Shell>
525 # SPDX-License-Identifier: EPL-1.0
526 ##############################################################################
527 # Copyright (c) 2017 The Linux Foundation and others.
529 # All rights reserved. This program and the accompanying materials
530 # are made available under the terms of the Eclipse Public License v1.0
531 # which accompanies this distribution, and is available at
532 # http://www.eclipse.org/legal/epl-v10.html
533 ##############################################################################
534 echo "---> lftools-install.sh"
536 # Script to install lftools via a version passed in via lf-infra-parameters
538 # Required parameters:
540 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
541 # set to a strict version number like '1.2.3' or using
542 # PEP-440 definitions.
546 # >=1.0.0,<2.0.0
548 # By default a released version of lftools should always be used.
549 # The purpose of the 2 variables below is so that lftools devs can test
550 # unreleased versions of lftools. There are 2 methods to install a dev version
553 # 1) gerrit patch: Used to test a patch that has not yet been merged.
554 # To do this set something like this:
555 # LFTOOLS_MODE=gerrit
556 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
558 # 2) git branch: Used to install an lftools version from a specific branch.
559 # To use this set the variables as follows:
561 # LFTOOLS_REFSPEC=master
563 # 3) release : The intended use case and default setting.
564 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
566 LFTOOLS_MODE=release # release | git | gerrit
567 LFTOOLS_REFSPEC=master
569 # Ensure we fail the job if any steps fail.
570 # DO NOT set -u as virtualenv's activate script has unbound variables
573 virtualenv --quiet "/tmp/v/lftools"
574 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
575 source "/tmp/v/lftools/bin/activate"
576 pip install --quiet --upgrade pip
578 case $LFTOOLS_MODE in
580 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
582 git fetch origin "$LFTOOLS_REFSPEC"
583 git checkout FETCH_HEAD
584 pip install --quiet --upgrade -r requirements.txt
585 pip install --quiet --upgrade -e .
590 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
594 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
595 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
598 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
604 # pipdeptree prints out a lot of information because lftools pulls in many
605 # dependencies. Let's only print it if we want to debug.
606 # echo "----> Pip Dependency Tree"
607 # pip install --quiet --upgrade pipdeptree
611 # SPDX-License-Identifier: EPL-1.0
612 ##############################################################################
613 # Copyright (c) 2017 The Linux Foundation and others.
615 # All rights reserved. This program and the accompanying materials
616 # are made available under the terms of the Eclipse Public License v1.0
617 # which accompanies this distribution, and is available at
618 # http://www.eclipse.org/legal/epl-v10.html
619 ##############################################################################
620 echo "---> logs-deploy.sh"
622 # Ensure we fail the job if any steps fail.
625 set -x # Trace commands for this script to make debugging easier.
627 ARCHIVE_ARTIFACTS="${ARCHIVE_ARTIFACTS:-}"
628 LOGS_SERVER="${LOGS_SERVER:-None}"
630 if [ "${LOGS_SERVER}" == 'None' ]
632 set +x # Disable trace since we no longer need it
634 echo "WARNING: Logging server not set"
636 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
637 NEXUS_PATH="${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}"
638 BUILD_URL="${BUILD_URL}"
640 lftools deploy archives -p "$ARCHIVE_ARTIFACTS" "$NEXUS_URL" "$NEXUS_PATH" "$WORKSPACE"
641 lftools deploy logs "$NEXUS_URL" "$NEXUS_PATH" "$BUILD_URL"
643 set +x # Disable trace since we no longer need it.
645 echo "Build logs: <a href=\"$LOGS_SERVER/$NEXUS_PATH\">$LOGS_SERVER/$NEXUS_PATH</a>"
648 </hudson.tasks.Shell>
651 # SPDX-License-Identifier: EPL-1.0
652 ##############################################################################
653 # Copyright (c) 2017 The Linux Foundation and others.
655 # All rights reserved. This program and the accompanying materials
656 # are made available under the terms of the Eclipse Public License v1.0
657 # which accompanies this distribution, and is available at
658 # http://www.eclipse.org/legal/epl-v10.html
659 ##############################################################################
661 # Clear log credential files
662 rm "$SETTINGS_FILE"
665 </hudson.tasks.Shell>
666 <hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
667 <regexp>^Build logs: .*</regexp>
668 </hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
670 <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
671 <scriptOnlyIfFailure>false</scriptOnlyIfFailure>
672 <markBuildUnstable>false</markBuildUnstable>
673 </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
674 <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup">
676 <hudson.plugins.ws__cleanup.Pattern>
677 <pattern>**/*.jenkins-trigger</pattern>
679 </hudson.plugins.ws__cleanup.Pattern>
681 <deleteDirs>false</deleteDirs>
682 <cleanupMatrixParent>false</cleanupMatrixParent>
684 <cleanWhenSuccess>true</cleanWhenSuccess>
685 <cleanWhenUnstable>true</cleanWhenUnstable>
686 <cleanWhenFailure>true</cleanWhenFailure>
687 <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
688 <cleanWhenAborted>true</cleanWhenAborted>
689 <notFailBuild>true</notFailBuild>
690 </hudson.plugins.ws__cleanup.WsCleanup>
693 <com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsBuildWrapper/>
694 <hudson.plugins.build__timeout.BuildTimeoutWrapper>
695 <timeoutMinutes>30</timeoutMinutes>
696 <timeoutEnvVar>BUILD_TIMEOUT</timeoutEnvVar>
697 <failBuild>true</failBuild>
698 <writingDescription>false</writingDescription>
699 <timeoutPercentage>0</timeoutPercentage>
700 <timeoutMinutesElasticDefault>3</timeoutMinutesElasticDefault>
701 <timeoutType>absolute</timeoutType>
702 </hudson.plugins.build__timeout.BuildTimeoutWrapper>
703 <hudson.plugins.timestamper.TimestamperBuildWrapper/>
704 <com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
705 <user>test-credential</user>
706 </com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
707 <jenkins.plugins.openstack.compute.JCloudsOneOffSlave/>