jenkins-job-builder/tests
Eric Ball 97ad297610 Fix: Avoid LegacyVersion casting due to hyphens
Plugins are no longer following semantic versioning, and frequently
include additional versioning information.

pkg_resources.parse_version generally handles this well, but some
versions with a hyphen will return a LegacyVersion object rather than
a Version object, causing it to always compare as lower than any
Version object.

Simply replacing any '-' with '+' fixes this issue, and does not
materially change the versioning.

Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: I5ad949d688ce7ebd0d183d69f4ce87b35343357f
2022-04-12 11:21:49 -07:00
..
builders xunit: support versions 3+ 2021-03-17 16:21:33 +01:00
cachestorage Fix the yaml load warning. 2019-12-10 09:52:40 +01:00
cmd tests: fix mixed imports of 'unittest.mock' and 'mock' 2021-01-01 12:58:28 +01:00
duplicates Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
errors Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
general Removed the unnecessary empty combinationFilter Tag 2020-07-07 11:32:51 +02:00
githuborg Feat: Add GitHub Organization job type 2021-07-09 16:46:11 -07:00
hipchat Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
jenkins_manager Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
jsonparser Update Gerrit Trigger Plugin Implementation 2021-05-20 15:14:46 +02:00
localyaml Fix retaining anchors when using with !j2-yaml 2021-04-01 14:57:55 +02:00
macros Fix uno-choice parameter macro processing 2022-02-14 07:10:25 +00:00
moduleregistry Fix: Avoid LegacyVersion casting due to hyphens 2022-04-12 11:21:49 -07:00
modules Added support of json type for extended choice parameter and related parameters. 2021-01-04 12:36:24 +03:00
multibranch Extend multibranch pipeline project gerrit scm 2021-09-10 10:47:03 -04:00
notifications Add support for retries options in notifications 2020-11-13 15:20:22 +00:00
parallel Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
parameters Add support for Persistent Parameter 2022-02-14 16:08:53 +08:00
properties Second & Minute are now supported by branch-api 2021-07-11 21:47:54 +01:00
publishers Add support git publisher rebase before push 2022-01-28 11:57:41 +08:00
reporters Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
scm Merge "Add git submodule threads" 2021-04-10 13:47:25 +00:00
triggers Add support for Artifactory Trigger 2021-10-15 16:15:24 +02:00
views Merge "Added missing 'BuiltOn' column for views" 2020-05-18 14:38:35 +00:00
wrappers Fix SSH Agent plugin markup for empty list of users 2022-02-13 17:47:39 +01:00
xml_config Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
yamlparser Update Gerrit Trigger Plugin Implementation 2021-05-20 15:14:46 +02:00
__init__.py Tests for publishers 2013-07-19 14:31:11 +02:00
base.py Feat: Add GitHub Organization job type 2021-07-09 16:46:11 -07:00