fabric8io / jenkins-pipeline-library

a collection of reusable jenkins pipelines and pipeline functions
Apache License 2.0
275 stars 179 forks source link

Fix up semver checks #153

Closed jimmidyson closed 8 years ago

jimmidyson commented 8 years ago

Wasn't handling SNAPSHOT versions properly; wasn't trimming whitespace.

jimmidyson commented 8 years ago

@rawlingsj @rhuss This has been tested with a kubernetes-client release where I wanted to do a minor upgrade after upgrading from okhttp2 to okhttp3. Worked perfectly! Only problem is that the fabric8/jenkins-docker image needs releasing & fabric8-devops has a problem releasing atm according to @jstrachan (although I don't know what the problem is).