jenkins_api_client icon indicating copy to clipboard operation
jenkins_api_client copied to clipboard

client.deconstruct_version does not support versions like '1.580.2.1'

Open ghost opened this issue 10 years ago • 3 comments

PROBLEM:

Our current version of Jenkins (hosted by Cloudbees) is '1.580.2.1'. This results in client.deconstruct_version returning null, eventually breaking with a NPE in compare_versions.

This stops the new form of build method working when 'build_start_timeout' is specified.

PROPOSED SOLUTION:

deconstruct_version and compare_version methods should be changed to support versions with four parts, or indeed generalised to support versions with N-parts.

ghost avatar Feb 19 '15 11:02 ghost

This is very much still an issue. It breaks the entire process of building a job with options such as build_start_timeout.

f0zz avatar Nov 17 '18 21:11 f0zz

#282 resolves this bug.

f0zz avatar Nov 17 '18 23:11 f0zz

#218 is a duplicate of this bug.

f0zz avatar Nov 17 '18 23:11 f0zz