jenkins-job-builder/tests/moduleregistry
Evgeni Golov 430f1b4694 properly support private builds in the registry
when building snapshots, maven will sometimes add some information
*after* the -SNAPSHOT like this:
 1.4.6-SNAPSHOT (private-0986edd9-egolov)

the old registry code would transform this to
 1.4.6.preview (private-0986edd9-egolov)
which is not a valid version string for pkg_resources.

strip everything after the -SNAPSHOT tag and thus produce a clean
version string that is comparable properly

Change-Id: I765c991ac7632b3c76f548112d2a5323a8ce4489
Signed-off-by: Evgeni Golov <evgeni@golov.de>
2017-04-28 11:20:04 +02:00
..
__init__.py Add plugins_info to module registry object. 2015-02-04 05:02:14 -08:00
test_moduleregistry.py properly support private builds in the registry 2017-04-28 11:20:04 +02:00