
LegacyVersion class is removed from newer setuptools package. But support for legacy versions is added in python-jenkins 1.8.2. Switch to that implementation. Fix broken plugin version comparison for legacy versions. Assume latest plugin version if no plugin version is found. Story: 2010990 Story: 2009943 Story: 2009819 Story: 2010842 Task: 49236 Task: 44852 Task: 44396 Task: 48448 Change-Id: Id7f0be1c42357454bd9bedcdee3fefb174943d81
48 lines
1.4 KiB
XML
48 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<actions/>
|
|
<description><!-- Managed by Jenkins Job Builder --></description>
|
|
<keepDependencies>false</keepDependencies>
|
|
<disabled>false</disabled>
|
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
|
<concurrentBuild>false</concurrentBuild>
|
|
<quietPeriod>1</quietPeriod>
|
|
<assignedNode>my-test-node</assignedNode>
|
|
<canRoam>false</canRoam>
|
|
<properties>
|
|
<EnvInjectJobProperty>
|
|
<info>
|
|
<loadFilesFromMaster>false</loadFilesFromMaster>
|
|
<secureGroovyScript>
|
|
<sandbox>false</sandbox>
|
|
</secureGroovyScript>
|
|
</info>
|
|
<on>true</on>
|
|
<keepJenkinsSystemVariables>true</keepJenkinsSystemVariables>
|
|
<keepBuildVariables>true</keepBuildVariables>
|
|
<overrideBuildParameters>false</overrideBuildParameters>
|
|
</EnvInjectJobProperty>
|
|
</properties>
|
|
<scm class="hudson.scm.NullSCM"/>
|
|
<builders>
|
|
<hudson.tasks.Shell>
|
|
<command>#!/bin/bash
|
|
#
|
|
# test script containing some variables to show how you can include scripts
|
|
# into job template definitions provided you use the include-raw-escaped tag
|
|
|
|
MSG="hello world"
|
|
|
|
[[ -n "${MSG}" ]] && {
|
|
# this next section is executed as one
|
|
echo "${MSG}"
|
|
exit 0
|
|
}
|
|
</command>
|
|
</hudson.tasks.Shell>
|
|
</builders>
|
|
<publishers/>
|
|
<buildWrappers/>
|
|
</project>
|