jenkins_api_client
jenkins_api_client copied to clipboard
Ruby Client libraries for communicating with Jenkins Remote Access API
Is there a way to create Nested Views with jenkins_api_client? I'd like to create a Nested View called 'Pipelines'. I'd then like to create Build Pipeline View sub-views within it....
The use case: A jenkins slave is offline then using the API I trigger a build in a job then the build is marked as pending and queued somehow with...
It would be great to have a method to list out all plugins used in a job. Thanks in advance.
``` require 'jenkins_api_client' begin @client = JenkinsApi::Client.new(:server_ip => 'jenkins.example.com',:server_port => '443',:username => 'user',:password => 'password',:log_level => 0,:ssl => true) puts @client.job.list_all rescue Exception => e puts e.message end ``` produces:...
I'd like to add some documentation on how to hack on this gem, similar to how the graphql-ruby gem does it: http://graphql-ruby.org/development Specifically, it talks about how to set up...
- Currently all https/TLS requests are vulnerable to MITM. See: https://github.com/arangamani/jenkins_api_client/blob/b9a5e5d4ffc0e9240fd3a3d1ff6caeccc611ba92/lib/jenkins_api_client/client.rb#L311-L314 https://github.com/arangamani/jenkins_api_client/blob/b9a5e5d4ffc0e9240fd3a3d1ff6caeccc611ba92/lib/jenkins_api_client/client.rb#L270-L274 Suggestion: Change default to verify, allow users who are unable to fix their trust root to set an...
Adds multibranch support for the following functions. - `exists?` - `list` This means if the job name is given like this: `something/branch/master` then `exists?` function returns with the correct answer.
It's common to have process names that are not URI safe (spaces, etc.), so this re-uses the convention of calling path_encode at the string interpolation level.