ecf3933dc2
If, for whatever reason, the version of the build-timeout plugin can not be detected, assume that we use a newer version (>= 1.14). Version 1.14 is already ~ 2 1/2 years old so this is a sane assumption. Also adjust fixtures to use the newer plugin version xml output. Change-Id: I86295933d0c3247f55d0114473fc9c8f8feb7441 Signed-off-by: Bertrand Roussel <broussel@sierrawireless.com> Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
47 lines
1.4 KiB
XML
47 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<actions/>
|
|
<description><!-- Managed by Jenkins Job Builder --></description>
|
|
<keepDependencies>false</keepDependencies>
|
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
|
<concurrentBuild>false</concurrentBuild>
|
|
<canRoam>true</canRoam>
|
|
<properties/>
|
|
<scm class="hudson.scm.NullSCM"/>
|
|
<builders>
|
|
<hudson.tasks.Shell>
|
|
<command>#!/bin/bash
|
|
#
|
|
# version 1.1 of the echo vars script
|
|
|
|
MSG="hello world"
|
|
VERSION="1.1"
|
|
|
|
[[ -n "${MSG}" ]] && {
|
|
# this next section is executed as one
|
|
echo "${MSG}"
|
|
echo "version: ${VERSION}"
|
|
exit 0
|
|
}
|
|
|
|
#!/bin/bash
|
|
echo "Doing somethiung cool"
|
|
</command>
|
|
</hudson.tasks.Shell>
|
|
</builders>
|
|
<publishers/>
|
|
<buildWrappers>
|
|
<hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
|
<strategy class="hudson.plugins.build_timeout.impl.ElasticTimeOutStrategy">
|
|
<timeoutPercentage>150</timeoutPercentage>
|
|
<numberOfBuilds>0</numberOfBuilds>
|
|
<timeoutMinutesElasticDefault>90</timeoutMinutesElasticDefault>
|
|
</strategy>
|
|
<operationList>
|
|
<hudson.plugins.build__timeout.operations.FailOperation/>
|
|
</operationList>
|
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
|
</buildWrappers>
|
|
</project>
|