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 <hudson.model.StringParameterDefinition>
101 <name>ARCHIVE_ARTIFACTS</name>
102 <description>Artifacts to archive to the logs server.</description>
104 </hudson.model.StringParameterDefinition>
105 </parameterDefinitions>
106 </hudson.model.ParametersDefinitionProperty>
108 <scm class="hudson.plugins.git.GitSCM">
109 <configVersion>2</configVersion>
111 <hudson.plugins.git.UserRemoteConfig>
114 <url>git@github.com:example-org/releng/ciman</url>
115 <credentialsId>test-credential</credentialsId>
116 </hudson.plugins.git.UserRemoteConfig>
119 <hudson.plugins.git.BranchSpec>
121 </hudson.plugins.git.BranchSpec>
124 <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
125 <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
126 <authorOrCommitter>false</authorOrCommitter>
127 <wipeOutWorkspace>true</wipeOutWorkspace>
128 <pruneBranches>false</pruneBranches>
129 <remotePoll>false</remotePoll>
130 <gitTool>Default</gitTool>
131 <submoduleCfg class="list"/>
136 <skipTag>true</skipTag>
138 <useShallowClone>false</useShallowClone>
139 <ignoreNotifyCommit>false</ignoreNotifyCommit>
141 <hudson.plugins.git.extensions.impl.SubmoduleOption>
142 <disableSubmodules>false</disableSubmodules>
143 <recursiveSubmodules>true</recursiveSubmodules>
144 <trackingSubmodules>false</trackingSubmodules>
146 <timeout>10</timeout>
147 </hudson.plugins.git.extensions.impl.SubmoduleOption>
148 <hudson.plugins.git.extensions.impl.WipeWorkspace/>
151 <triggers class="vector">
152 <com.cloudbees.jenkins.GitHubPushTrigger>
154 </com.cloudbees.jenkins.GitHubPushTrigger>
155 <hudson.triggers.SCMTrigger>
157 <ignorePostCommitHooks>false</ignorePostCommitHooks>
158 </hudson.triggers.SCMTrigger>
159 <org.jenkinsci.plugins.ghprb.GhprbTrigger>
161 <adminlist>tykeal</adminlist>
162 <allowMembersOfWhitelistedOrgsAsAdmin>false</allowMembersOfWhitelistedOrgsAsAdmin>
166 <orgslist>example-org</orgslist>
168 <triggerPhrase>^remerge$</triggerPhrase>
169 <onlyTriggerPhrase>true</onlyTriggerPhrase>
170 <useGitHubHooks>true</useGitHubHooks>
171 <permitAll>false</permitAll>
172 <autoCloseFailedPullRequests>false</autoCloseFailedPullRequests>
174 <org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
175 <commitStatusContext>JJB Merge</commitStatusContext>
176 </org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
178 </org.jenkinsci.plugins.ghprb.GhprbTrigger>
182 <command>echo "quiet=on" > "$HOME/.wgetrc"</command>
183 </hudson.tasks.Shell>
185 <targets>--version</targets>
187 <mavenName>mvn33</mavenName>
188 <usePrivateRepository>false</usePrivateRepository>
189 <settings class="jenkins.mvn.DefaultSettingsProvider"/>
190 <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
191 </hudson.tasks.Maven>
193 <command>rm "$HOME/.wgetrc"</command>
194 </hudson.tasks.Shell>
195 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
197 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
198 <fileId>global-settings</fileId>
200 <variable>GLOBAL_SETTINGS_FILE</variable>
201 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
202 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
203 <fileId>aproject-settings</fileId>
205 <variable>SETTINGS_FILE</variable>
206 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
208 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
211 <propertiesContent>SERVER_ID=project-site</propertiesContent>
216 # SPDX-License-Identifier: EPL-1.0
217 ##############################################################################
218 # Copyright (c) 2017 The Linux Foundation and others.
220 # All rights reserved. This program and the accompanying materials
221 # are made available under the terms of the Eclipse Public License v1.0
222 # which accompanies this distribution, and is available at
223 # http://www.eclipse.org/legal/epl-v10.html
224 ##############################################################################
225 echo "---> create-netrc.sh"
227 # Ensure we fail the job if any steps fail.
230 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
231 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
232 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
233 -v x:username -o ":" -v x:password \
234 "$SETTINGS_FILE")
236 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
237 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
238 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
240 echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
242 </hudson.tasks.Shell>
245 <propertiesContent>DEPLOY_PATH=org.example.project/$STREAM</propertiesContent>
250 # SPDX-License-Identifier: EPL-1.0
251 ##############################################################################
252 # Copyright (c) 2017 The Linux Foundation and others.
254 # All rights reserved. This program and the accompanying materials
255 # are made available under the terms of the Eclipse Public License v1.0
256 # which accompanies this distribution, and is available at
257 # http://www.eclipse.org/legal/epl-v10.html
258 ##############################################################################
260 # This file contains a list of variables that are generally useful in many
261 # scripts. It is meant to be sourced in other scripts so that the variables can
264 MAVEN_OPTIONS="$(echo --show-version \
267 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
268 -Dmaven.repo.local=/tmp/r \
269 -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)"
270 echo "$MAVEN_OPTIONS"
273 # SPDX-License-Identifier: EPL-1.0
274 ##############################################################################
275 # Copyright (c) 2017 The Linux Foundation and others.
277 # All rights reserved. This program and the accompanying materials
278 # are made available under the terms of the Eclipse Public License v1.0
279 # which accompanies this distribution, and is available at
280 # http://www.eclipse.org/legal/epl-v10.html
281 ##############################################################################
283 # Generates javadoc in a Maven project.
285 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
286 # Ensure we fail the job if any steps fail.
290 JAVADOC_DIR="$WORKSPACE/archives/javadoc"
291 mkdir -p "$WORKSPACE/archives"
295 # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters.
296 # shellcheck disable=SC2086
297 $MVN clean install javadoc:aggregate \
298 -Pq -Dmaven.javadoc.skip=false \
300 -Dcheckstyle.skip=true \
301 -Dfindbugs.skip=true \
302 --global-settings "$GLOBAL_SETTINGS_FILE" \
303 --settings "$SETTINGS_FILE" \
304 $MAVEN_PARAMS $MAVEN_OPTIONS
306 mv "$WORKSPACE/target/site/apidocs" "$JAVADOC_DIR"
309 # SPDX-License-Identifier: EPL-1.0
310 ##############################################################################
311 # Copyright (c) 2017 The Linux Foundation and others.
313 # All rights reserved. This program and the accompanying materials
314 # are made available under the terms of the Eclipse Public License v1.0
315 # which accompanies this distribution, and is available at
316 # http://www.eclipse.org/legal/epl-v10.html
317 ##############################################################################
318 echo "---> lftools-install.sh"
320 # Script to install lftools via a version passed in via lf-infra-parameters
322 # Required parameters:
324 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
325 # set to a strict version number like '1.2.3' or using
326 # PEP-440 definitions.
330 # >=1.0.0,<2.0.0
332 # By default a released version of lftools should always be used.
333 # The purpose of the 2 variables below is so that lftools devs can test
334 # unreleased versions of lftools. There are 2 methods to install a dev version
337 # 1) gerrit patch: Used to test a patch that has not yet been merged.
338 # To do this set something like this:
339 # LFTOOLS_MODE=gerrit
340 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
342 # 2) git branch: Used to install an lftools version from a specific branch.
343 # To use this set the variables as follows:
345 # LFTOOLS_REFSPEC=master
347 # 3) release : The intended use case and default setting.
348 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
350 LFTOOLS_MODE=release # release | git | gerrit
351 LFTOOLS_REFSPEC=master
353 # Ensure we fail the job if any steps fail.
354 # DO NOT set -u as virtualenv's activate script has unbound variables
357 virtualenv --quiet "/tmp/v/lftools"
358 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
359 source "/tmp/v/lftools/bin/activate"
360 pip install --quiet --upgrade pip
362 case $LFTOOLS_MODE in
364 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
366 git fetch origin "$LFTOOLS_REFSPEC"
367 git checkout FETCH_HEAD
368 pip install --quiet --upgrade -r requirements.txt
369 pip install --quiet --upgrade -e .
374 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
378 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
379 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
382 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
388 # pipdeptree prints out a lot of information because lftools pulls in many
389 # dependencies. Let's only print it if we want to debug.
390 # echo "----> Pip Dependency Tree"
391 # pip install --quiet --upgrade pipdeptree
395 # SPDX-License-Identifier: EPL-1.0
396 ##############################################################################
397 # Copyright (c) 2017 The Linux Foundation and others.
399 # All rights reserved. This program and the accompanying materials
400 # are made available under the terms of the Eclipse Public License v1.0
401 # which accompanies this distribution, and is available at
402 # http://www.eclipse.org/legal/epl-v10.html
403 ##############################################################################
405 # Publishes javadoc to a Maven project.
407 # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound.
408 # Ensure we fail the job if any steps fail.
412 JAVADOC_DIR="$WORKSPACE/archives/javadoc"
414 pushd "$JAVADOC_DIR"
415 zip -r "$WORKSPACE/javadoc.zip" .
418 lftools deploy nexus-zip "$NEXUS_URL" "javadoc" "$DEPLOY_PATH" "$WORKSPACE/javadoc.zip"
420 </hudson.tasks.Shell>
423 set +e # DO NOT cause build failure if any of the rm calls fail.
425 rm "$GLOBAL_SETTINGS_FILE" "$SETTINGS_FILE"
427 # In some cases we use the lf-provide-maven-settings macro to produce
428 # a "$HOME/.netrc" file containing credentials. Remove that file here
430 rm "$HOME/.netrc"
432 # DO NOT fail build if any of the above lines fail.
435 </hudson.tasks.Shell>
438 <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
442 # SPDX-License-Identifier: EPL-1.0
443 ##############################################################################
444 # Copyright (c) 2017 The Linux Foundation and others.
446 # All rights reserved. This program and the accompanying materials
447 # are made available under the terms of the Eclipse Public License v1.0
448 # which accompanies this distribution, and is available at
449 # http://www.eclipse.org/legal/epl-v10.html
450 ##############################################################################
451 echo "---> sysstat.sh"
452 set +e # DON'T fail build if script fails.
454 OS=$(facter operatingsystem)
455 case "$OS" in
457 SYSSTAT_PATH="/var/log/sysstat"
459 # Dont run the script when systat is not enabled by default
460 if ! grep --quiet 'ENABLED="true"' "/etc/default/sysstat"; then
465 SYSSTAT_PATH="/var/log/sa"
473 SAR_DIR="$WORKSPACE/archives/sar-reports"
474 mkdir -p "$SAR_DIR"
475 cp "$SYSSTAT_PATH/"* "$_"
476 # convert sar data to ascii format
477 while IFS="" read -r s
479 [ -f "$s" ] && LC_TIME=POSIX sar -A -f "$s" > "$SAR_DIR/sar${s//[!0-9]/}"
480 done < <(find "$SYSSTAT_PATH" -name "sa[0-9]*" || true)
482 # DON'T fail build if script fails.
485 </hudson.tasks.Shell>
486 <org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep plugin="config-file-provider">
488 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
489 <fileId>jenkins-log-archives-settings</fileId>
491 <variable>SETTINGS_FILE</variable>
492 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
494 </org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
497 <propertiesContent>SERVER_ID=logs</propertiesContent>
502 # SPDX-License-Identifier: EPL-1.0
503 ##############################################################################
504 # Copyright (c) 2017 The Linux Foundation and others.
506 # All rights reserved. This program and the accompanying materials
507 # are made available under the terms of the Eclipse Public License v1.0
508 # which accompanies this distribution, and is available at
509 # http://www.eclipse.org/legal/epl-v10.html
510 ##############################################################################
511 echo "---> create-netrc.sh"
513 # Ensure we fail the job if any steps fail.
516 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
517 CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
518 -t -m "/x:settings/x:servers/x:server[x:id='${SERVER_ID}']" \
519 -v x:username -o ":" -v x:password \
520 "$SETTINGS_FILE")
522 machine=$(echo "$NEXUS_URL" | awk -F/ '{print $3}')
523 user=$(echo "$CREDENTIAL" | cut -f1 -d:)
524 pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
526 echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
528 </hudson.tasks.Shell>
531 # SPDX-License-Identifier: EPL-1.0
532 ##############################################################################
533 # Copyright (c) 2017 The Linux Foundation and others.
535 # All rights reserved. This program and the accompanying materials
536 # are made available under the terms of the Eclipse Public License v1.0
537 # which accompanies this distribution, and is available at
538 # http://www.eclipse.org/legal/epl-v10.html
539 ##############################################################################
540 echo "---> lftools-install.sh"
542 # Script to install lftools via a version passed in via lf-infra-parameters
544 # Required parameters:
546 # LFTOOLS_VERSION: Passed in via lf-infra-parameters configuration. Can be
547 # set to a strict version number like '1.2.3' or using
548 # PEP-440 definitions.
552 # >=1.0.0,<2.0.0
554 # By default a released version of lftools should always be used.
555 # The purpose of the 2 variables below is so that lftools devs can test
556 # unreleased versions of lftools. There are 2 methods to install a dev version
559 # 1) gerrit patch: Used to test a patch that has not yet been merged.
560 # To do this set something like this:
561 # LFTOOLS_MODE=gerrit
562 # LFTOOLS_REFSPEC=refs/changes/96/5296/7
564 # 2) git branch: Used to install an lftools version from a specific branch.
565 # To use this set the variables as follows:
567 # LFTOOLS_REFSPEC=master
569 # 3) release : The intended use case and default setting.
570 # Set LFTOOLS_MODE=release, in this case LFTOOLS_REFSPEC is unused.
572 LFTOOLS_MODE=release # release | git | gerrit
573 LFTOOLS_REFSPEC=master
575 # Ensure we fail the job if any steps fail.
576 # DO NOT set -u as virtualenv's activate script has unbound variables
579 virtualenv --quiet "/tmp/v/lftools"
580 # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
581 source "/tmp/v/lftools/bin/activate"
582 pip install --quiet --upgrade pip
584 case $LFTOOLS_MODE in
586 git clone https://gerrit.linuxfoundation.org/infra/releng/lftools.git /tmp/lftools
588 git fetch origin "$LFTOOLS_REFSPEC"
589 git checkout FETCH_HEAD
590 pip install --quiet --upgrade -r requirements.txt
591 pip install --quiet --upgrade -e .
596 pip install --quiet --upgrade git+https://gerrit.linuxfoundation.org/infra/releng/lftools.git@"$BRANCH"
600 if [[ $LFTOOLS_VERSION =~ ^[0-9] ]]; then
601 LFTOOLS_VERSION="==$LFTOOLS_VERSION"
604 pip install --quiet --upgrade "lftools${LFTOOLS_VERSION}"
610 # pipdeptree prints out a lot of information because lftools pulls in many
611 # dependencies. Let's only print it if we want to debug.
612 # echo "----> Pip Dependency Tree"
613 # pip install --quiet --upgrade pipdeptree
617 # SPDX-License-Identifier: EPL-1.0
618 ##############################################################################
619 # Copyright (c) 2017 The Linux Foundation and others.
621 # All rights reserved. This program and the accompanying materials
622 # are made available under the terms of the Eclipse Public License v1.0
623 # which accompanies this distribution, and is available at
624 # http://www.eclipse.org/legal/epl-v10.html
625 ##############################################################################
626 echo "---> logs-deploy.sh"
628 # Ensure we fail the job if any steps fail.
631 set -x # Trace commands for this script to make debugging easier.
633 ARCHIVE_ARTIFACTS="${ARCHIVE_ARTIFACTS:-}"
634 LOGS_SERVER="${LOGS_SERVER:-None}"
636 if [ "${LOGS_SERVER}" == 'None' ]
638 set +x # Disable trace since we no longer need it
640 echo "WARNING: Logging server not set"
642 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
643 NEXUS_PATH="${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}"
644 BUILD_URL="${BUILD_URL}"
646 lftools deploy archives -p "$ARCHIVE_ARTIFACTS" "$NEXUS_URL" "$NEXUS_PATH" "$WORKSPACE"
647 lftools deploy logs "$NEXUS_URL" "$NEXUS_PATH" "$BUILD_URL"
649 set +x # Disable trace since we no longer need it.
651 echo "Build logs: <a href=\"$LOGS_SERVER/$NEXUS_PATH\">$LOGS_SERVER/$NEXUS_PATH</a>"
654 </hudson.tasks.Shell>
657 # SPDX-License-Identifier: EPL-1.0
658 ##############################################################################
659 # Copyright (c) 2017 The Linux Foundation and others.
661 # All rights reserved. This program and the accompanying materials
662 # are made available under the terms of the Eclipse Public License v1.0
663 # which accompanies this distribution, and is available at
664 # http://www.eclipse.org/legal/epl-v10.html
665 ##############################################################################
667 # Clear log credential files
668 rm "$SETTINGS_FILE"
671 </hudson.tasks.Shell>
672 <hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
673 <regexp>^Build logs: .*</regexp>
674 </hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
676 <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
677 <scriptOnlyIfFailure>false</scriptOnlyIfFailure>
678 <markBuildUnstable>false</markBuildUnstable>
679 </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
680 <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup">
682 <hudson.plugins.ws__cleanup.Pattern>
683 <pattern>**/*.jenkins-trigger</pattern>
685 </hudson.plugins.ws__cleanup.Pattern>
687 <deleteDirs>false</deleteDirs>
688 <cleanupMatrixParent>false</cleanupMatrixParent>
690 <cleanWhenSuccess>true</cleanWhenSuccess>
691 <cleanWhenUnstable>true</cleanWhenUnstable>
692 <cleanWhenFailure>true</cleanWhenFailure>
693 <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
694 <cleanWhenAborted>true</cleanWhenAborted>
695 <notFailBuild>true</notFailBuild>
696 </hudson.plugins.ws__cleanup.WsCleanup>
699 <com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsBuildWrapper/>
700 <hudson.plugins.build__timeout.BuildTimeoutWrapper>
701 <timeoutMinutes>30</timeoutMinutes>
702 <timeoutEnvVar>BUILD_TIMEOUT</timeoutEnvVar>
703 <failBuild>true</failBuild>
704 <writingDescription>false</writingDescription>
705 <timeoutPercentage>0</timeoutPercentage>
706 <timeoutMinutesElasticDefault>3</timeoutMinutesElasticDefault>
707 <timeoutType>absolute</timeoutType>
708 </hudson.plugins.build__timeout.BuildTimeoutWrapper>
709 <hudson.plugins.timestamper.TimestamperBuildWrapper/>
710 <com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
711 <user>test-credential</user>
712 </com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper>
713 <jenkins.plugins.openstack.compute.JCloudsOneOffSlave/>
714 <org.jenkinsci.plugins.configfiles.buildwrapper.ConfigFileBuildWrapper plugin="config-file-provider">
716 <org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
717 <fileId>npmrc</fileId>
718 <targetLocation>$HOME/.npmrc</targetLocation>
720 </org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile>
722 </org.jenkinsci.plugins.configfiles.buildwrapper.ConfigFileBuildWrapper>