Strip out trailing metadata from version 61/12461/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 5 Sep 2018 16:42:01 +0000 (12:42 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 5 Sep 2018 16:46:37 +0000 (12:46 -0400)
commit8bab321b9a1713ac4c2b4bf6814dd4fc4b9f27f4
tree29bfe3bb932bde823e8038a1a0b70c9623580e46
parent73c1e4ad26a06e40fee8e08aad09ed3831b4cdf6
Strip out trailing metadata from version

When manually building maven plugins maven puts in some metadata
like "2.38-SNAPSHOT (private-9853d407-zxiiro)" which throws off the
version_ge function as it does not know how to handle a version with
a space in the name. This change strips out only the leading version
ignoring everything after a space.

Change-Id: I02f0397ae5627f65638a456ba2f1304dd9a16de9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
shell/jenkins-configure-clouds.sh