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 javadoc:aggregate \
293 --global-settings "$GLOBAL_SETTINGS_FILE" \
294 --settings "$SETTINGS_FILE" \
295 $MAVEN_PARAMS $MAVEN_OPTIONS
297 mv "$WORKSPACE/target/site/apidocs" "$JAVADOC_DIR"
300 # SPDX-License-Identifier: EPL-1.0
301 ##############################################################################
302 # Copyright (c) 2017 The Linux Foundation and others.
304 # All rights reserved. This program and the accompanying materials
305 # are made available under the terms of the Eclipse Public License v1.0
306 # which accompanies this distribution, and is available at
307 # http://www.eclipse.org/legal/epl-v10.html
308 ##############################################################################
309 echo "---> lftools-install.sh"
311 # Script to install lftools via a version passed in via lf-infra-parameters
313 # Required parameters:
315 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
316 # set to a strict version number like '1.2.3' or using
317 # PEP-440 definitions.
321 # >=1.0.0,<2.0.0
323 # By default a released version of lftools should always be used.
324 # The purpose of the 2 variables below is so that lftools devs can test
325 # unreleased versions of lftools. There are 2 methods to install a dev version
328 # 1) gerrit patch: Used to test a patch that has not yet been merged.
329 # To do this set something like this:
330 # LFTOOLS_MODE=gerrit
331 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
333 # 2) git branch: Used to install an lftools version from a specific branch.
334 # To use this set the variables as follows:
336 # LFTOOLS_REFSPEC=master
338 # 3) release : The intended use case and default setting.
339 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
341 LFTOOLS_MODE=release # release | git | gerrit
342 LFTOOLS_REFSPEC=master
344 # Ensure we fail the job if any steps fail.
345 # DO NOT set -u as virtualenv's activate script has unbound variables
348 virtualenv --quiet "/tmp/v/lftools"
349 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
350 source "/tmp/v/lftools/bin/activate"
351 pip install --quiet --upgrade pip
353 case $LFTOOLS_MODE in
355 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
357 git fetch origin "$LFTOOLS_REFSPEC"
358 git checkout FETCH_HEAD
359 pip install --quiet --upgrade -r requirements.txt
360 pip install --quiet --upgrade -e .
365 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
369 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
370 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
373 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
379 # pipdeptree prints out a lot of information because lftools pulls in many
380 # dependencies. Let's only print it if we want to debug.
381 # echo "----> Pip Dependency Tree"
382 # pip install --quiet --upgrade pipdeptree
386 # SPDX-License-Identifier: EPL-1.0
387 ##############################################################################
388 # Copyright (c) 2017 The Linux Foundation and others.
390 # All rights reserved. This program and the accompanying materials
391 # are made available under the terms of the Eclipse Public License v1.0
392 # which accompanies this distribution, and is available at
393 # http://www.eclipse.org/legal/epl-v10.html
394 ##############################################################################
396 # Publishes javadoc to a Maven project.
398 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
399 # Ensure we fail the job if any steps fail.
403 JAVADOC_DIR="$WORKSPACE/archives/javadoc"
405 pushd "$JAVADOC_DIR"
406 zip -r "$WORKSPACE/javadoc.zip" .
409 lftools deploy nexus-zip "$NEXUS_URL" "javadoc" "$DEPLOY_PATH" "$WORKSPACE/javadoc.zip"
411 </hudson.tasks.Shell>
414 set +e # DO NOT cause build failure if any of the rm calls fail.
416 rm "$GLOBAL_SETTINGS_FILE" "$SETTINGS_FILE"
418 # In some cases we use the lf-provide-maven-settings macro to produce
419 # a "$HOME/.netrc" file containing credentials. Remove that file here
421 rm "$HOME/.netrc"
423 # DO NOT fail build if any of the above lines fail.
426 </hudson.tasks.Shell>
429 <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
433 # SPDX-License-Identifier: EPL-1.0
434 ##############################################################################
435 # Copyright (c) 2017 The Linux Foundation and others.
437 # All rights reserved. This program and the accompanying materials
438 # are made available under the terms of the Eclipse Public License v1.0
439 # which accompanies this distribution, and is available at
440 # http://www.eclipse.org/legal/epl-v10.html
441 ##############################################################################
442 echo "---> sysstat.sh"
443 set +e # DON'T fail build if script fails.
445 OS=$(facter operatingsystem)
446 case "$OS" in
448 SYSSTAT_PATH="/var/log/sysstat"
450 # Dont run the script when systat is not enabled by default
451 if ! grep --quiet 'ENABLED="true"' "/etc/default/sysstat"; then
456 SYSSTAT_PATH="/var/log/sa"
464 SAR_DIR="$WORKSPACE/archives/sar-reports"
465 mkdir -p "$SAR_DIR"
466 cp "$SYSSTAT_PATH/"* "$_"
467 # convert sar data to ascii format
468 while IFS="" read -r s
470 [ -f "$s" ] && LC_TIME=POSIX sar -A -f "$s" > "$SAR_DIR/sar${s//[!0-9]/}"
471 done < <(find "$SYSSTAT_PATH" -name "sa[0-9]*" || true)
473 # DON'T fail build if script fails.
476 </hudson.tasks.Shell>
477 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
479 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
480 <fileId>jenkins-log-archives-settings</fileId>
482 <variable>SETTINGS_FILE</variable>
483 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
485 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
488 <propertiesContent>SERVER_ID=logs</propertiesContent>
493 # SPDX-License-Identifier: EPL-1.0
494 ##############################################################################
495 # Copyright (c) 2017 The Linux Foundation and others.
497 # All rights reserved. This program and the accompanying materials
498 # are made available under the terms of the Eclipse Public License v1.0
499 # which accompanies this distribution, and is available at
500 # http://www.eclipse.org/legal/epl-v10.html
501 ##############################################################################
502 echo "---> create-netrc.sh"
504 # Ensure we fail the job if any steps fail.
507 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
508 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
509 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
510 -v x:username -o ":" -v x:password \
511 "$SETTINGS_FILE")
513 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
514 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
515 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
517 echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
519 </hudson.tasks.Shell>
522 # SPDX-License-Identifier: EPL-1.0
523 ##############################################################################
524 # Copyright (c) 2017 The Linux Foundation and others.
526 # All rights reserved. This program and the accompanying materials
527 # are made available under the terms of the Eclipse Public License v1.0
528 # which accompanies this distribution, and is available at
529 # http://www.eclipse.org/legal/epl-v10.html
530 ##############################################################################
531 echo "---> lftools-install.sh"
533 # Script to install lftools via a version passed in via lf-infra-parameters
535 # Required parameters:
537 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
538 # set to a strict version number like '1.2.3' or using
539 # PEP-440 definitions.
543 # >=1.0.0,<2.0.0
545 # By default a released version of lftools should always be used.
546 # The purpose of the 2 variables below is so that lftools devs can test
547 # unreleased versions of lftools. There are 2 methods to install a dev version
550 # 1) gerrit patch: Used to test a patch that has not yet been merged.
551 # To do this set something like this:
552 # LFTOOLS_MODE=gerrit
553 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
555 # 2) git branch: Used to install an lftools version from a specific branch.
556 # To use this set the variables as follows:
558 # LFTOOLS_REFSPEC=master
560 # 3) release : The intended use case and default setting.
561 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
563 LFTOOLS_MODE=release # release | git | gerrit
564 LFTOOLS_REFSPEC=master
566 # Ensure we fail the job if any steps fail.
567 # DO NOT set -u as virtualenv's activate script has unbound variables
570 virtualenv --quiet "/tmp/v/lftools"
571 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
572 source "/tmp/v/lftools/bin/activate"
573 pip install --quiet --upgrade pip
575 case $LFTOOLS_MODE in
577 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
579 git fetch origin "$LFTOOLS_REFSPEC"
580 git checkout FETCH_HEAD
581 pip install --quiet --upgrade -r requirements.txt
582 pip install --quiet --upgrade -e .
587 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
591 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
592 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
595 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
601 # pipdeptree prints out a lot of information because lftools pulls in many
602 # dependencies. Let's only print it if we want to debug.
603 # echo "----> Pip Dependency Tree"
604 # pip install --quiet --upgrade pipdeptree
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 ##############################################################################
617 echo "---> logs-deploy.sh"
619 # Ensure we fail the job if any steps fail.
622 set -x # Trace commands for this script to make debugging easier.
624 ARCHIVE_ARTIFACTS="${ARCHIVE_ARTIFACTS:-}"
625 LOGS_SERVER="${LOGS_SERVER:-None}"
627 if [ "${LOGS_SERVER}" == 'None' ]
629 set +x # Disable trace since we no longer need it
631 echo "WARNING: Logging server not set"
633 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
634 NEXUS_PATH="${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}"
635 BUILD_URL="${BUILD_URL}"
637 lftools deploy archives -p "$ARCHIVE_ARTIFACTS" "$NEXUS_URL" "$NEXUS_PATH" "$WORKSPACE"
638 lftools deploy logs "$NEXUS_URL" "$NEXUS_PATH" "$BUILD_URL"
640 set +x # Disable trace since we no longer need it.
642 echo "Build logs: <a href=\"$LOGS_SERVER/$NEXUS_PATH\">$LOGS_SERVER/$NEXUS_PATH</a>"
645 </hudson.tasks.Shell>
648 # SPDX-License-Identifier: EPL-1.0
649 ##############################################################################
650 # Copyright (c) 2017 The Linux Foundation and others.
652 # All rights reserved. This program and the accompanying materials
653 # are made available under the terms of the Eclipse Public License v1.0
654 # which accompanies this distribution, and is available at
655 # http://www.eclipse.org/legal/epl-v10.html
656 ##############################################################################
658 # Clear log credential files
659 rm "$SETTINGS_FILE"
662 </hudson.tasks.Shell>
663 <hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
664 <regexp>^Build logs: .*</regexp>
665 </hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
667 <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
668 <scriptOnlyIfFailure>false</scriptOnlyIfFailure>
669 <markBuildUnstable>false</markBuildUnstable>
670 </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
671 <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup">
673 <hudson.plugins.ws__cleanup.Pattern>
674 <pattern>**/*.jenkins-trigger</pattern>
676 </hudson.plugins.ws__cleanup.Pattern>
678 <deleteDirs>false</deleteDirs>
679 <cleanupMatrixParent>false</cleanupMatrixParent>
681 <cleanWhenSuccess>true</cleanWhenSuccess>
682 <cleanWhenUnstable>true</cleanWhenUnstable>
683 <cleanWhenFailure>true</cleanWhenFailure>
684 <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
685 <cleanWhenAborted>true</cleanWhenAborted>
686 <notFailBuild>true</notFailBuild>
687 </hudson.plugins.ws__cleanup.WsCleanup>
690 <com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsBuildWrapper/>
691 <hudson.plugins.build__timeout.BuildTimeoutWrapper>
692 <timeoutMinutes>30</timeoutMinutes>
693 <timeoutEnvVar>BUILD_TIMEOUT</timeoutEnvVar>
694 <failBuild>true</failBuild>
695 <writingDescription>false</writingDescription>
696 <timeoutPercentage>0</timeoutPercentage>
697 <timeoutMinutesElasticDefault>3</timeoutMinutesElasticDefault>
698 <timeoutType>absolute</timeoutType>
699 </hudson.plugins.build__timeout.BuildTimeoutWrapper>
700 <hudson.plugins.timestamper.TimestamperBuildWrapper/>
701 <com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
702 <user>test-credential</user>
703 </com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
704 <jenkins.plugins.openstack.compute.JCloudsOneOffSlave/>