jenkins_api_client
jenkins_api_client copied to clipboard
Ruby Client libraries for communicating with Jenkins Remote Access API
modifying deconstruct_version_string and compare_versions to allow for indefinite number of version decimals while still only caring about first 4 places.
I'm using jenkins_api_client 1.4.2 with jenkins 1.630. On calling client.job.get_build_details I get the following error: ``` log writing failed. "\xC2" from ASCII-8BIT to UTF-8 ``` I stepped trough the code...
The `compare_version`method does not work for all versions of jenkins. ``` > ver = client.get_jenkins_version => "1.625.3.1 (CloudBees Jenkins Enterprise 15.11)" > client.compare_versions ver, '1.519' NoMethodError: undefined method `[]' for...
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...
Just the same as http proxy.
Like `user` and `password` options, I think is better not overriding `server_port` when `server_url` is passed if it was defined explicitly. Right now: ```ruby JenkinsApi::Client.new( server_url: 'https://my-custom-host', server_port: '34567' )...
idk how this happened but I just saw a weird error were crumbRequestField was not set, so `request[@crumb["crumbRequestField"]] = @crumb["crumb"]` does `request[nil] = foo` and that blows up in `/net/http/generic_request.rb:71...
Hi, When I use the following code to set `jenkins_path`: ``` def jenkins_path ENV['JENKINS_PATH'] || '/' end [...] client = JenkinsApi::Client.new(jenkins_path: jenkins_path) ``` Calling the handler fails with `can't modify...
Hey, thank you for the great API, it's well documented and easy to use. I think that it would be great if we can set batch command on the build,...