Skip to content

Releases: arangamani/jenkins_api_client

v1.1.0

05 Nov 08:39
Compare
Choose a tag to compare
  • #145 Fix BuildQueue#get_details to compare against task_name. Credit: @notruthless
  • #149 Lower log level of GET/POST messages emitted by Client to DEBUG. Credit: @scotje
  • #151 Add ability to configure credentialId for git. Credit: @hubert
  • #153 Feature/extract plugins. Credit: @hubert
  • #147 Added ability to get current build artifact. Credit: @joelneubert
  • #148 Make Client::Job#build only request current build number if build_start_timeout option is passed. Credit: @scotje

v1.0.1

05 Nov 08:24
Compare
Choose a tag to compare
  • Add charset=UTF-8 along with content_type when posting data to Jenkins.

v1.0.0

23 Jun 08:20
Compare
Choose a tag to compare
  • Ruby 1.8 is not supported anymore.
  • Added support for PluginManager which supports listing installed plugins, available plugins, installing and uninstalling plugins, enabling and disabling plugins, and more.
  • Enhance URL escape.
  • #106 Added support for obtaining build numbers after the build is posted for Jenkins version pre 1.519, added callbacks while waiting and more. Credit: @dougforpres
  • #112 Added supported for obtaining information about promoted builds. Credit: @dkerwin
  • #118 Added support for specifying username/password in the URL. Credit: @spikegrobstein
  • #119 Added ability to execute groovy script on the Jenkins server. Credit: @lheinlen-os
  • #122 Updated the create_dumb_slave method to accept the new credentials id that is introduced in the newer version of jenkins. Credit: @loa
  • #126 Enabled the use of cookies for authentication. Credit: @chilicheech
  • #127 Do not set content type in api_post_request. Credit: @chilicheech
  • #128 Updated exec_script to use api_post_reqeust to support features provided by api_post_request such as using crumbs. Credit: @chilicheech
  • #132 Allow copying and enabling jobs with spaces in them. Credit: @mattrose
  • #134 Added support for specifying HTTP open timeout. Credit: @n-rodriguez
  • #136 Prevent warnings due to Hash#[] call with nil items on Ruby 2.x. Credit: @sunaot
  • #140 Add require yaml in cli helper. Credit: @riywo
  • #141 Rename create_dump_slave -> create_dumb_slave. Thanks for finding the typo/incorrect name @cynipe

v0.14.0 release

08 Aug 00:48
Compare
Choose a tag to compare
  • Fixed a bug where a space was missing in the exec_cli method argument list.
    Credit: @missedone
  • Refactored create/update jobs by introducing create_or_update methods.
    Credit: @riywo
  • Enhancement to crumb processing - auto detect the change of crumb setting and
    do proper exception handling. Credit: dougforpress
  • Added a User class which will handle jenkins users related functions.
    Credit: dougforpres
  • Added a method Job#poll which will poll for SCM changes programatically.
  • Added a shortcut method System#restart! for force restart.

v0.13.0 release

10 Jul 05:25
Compare
Choose a tag to compare
  • Jenkins XSS disable option is now supported. No inputs are required - the
    jenkins_api_client will automatically detect whether to use the crumbs or not
    when making the POST requests.
  • Support for logging is added. Logs can be redirected to a log file and the
    log level can be customized. This implementation uses the Logger class so
    it follows the nice format in logging messages.
  • The job build method will now optionally return the build number. This
    option should be used with care as the build method will wait till the
    jenkins job is placed on an executor from the build queue. By default the
    build number will NOT be returned. nil will be returned if the build number
    is not available. Also a Timeout error will be raised if the job waits in the
    queue for longer than the 'timeout' parameter. This timeout parameter can be
    set during the client initialization.
  • Improved documentation
  • Support for enabling/disabling jobs. Credit: @dieterdemeyer
  • Added functionality for copying jobs. Credit: @dieterdemeyer
  • Added functionality for wiping out the workspace of a job.
    Credit: @dieterdemeyer
  • Added functionality for listing jenkins users. Credit: @dieterdemeyer
  • Fixed a bug where the exceptions where not thrown when using the
    get_console_output method.
  • Fixed a bug where the jenkins_path attribute was ignored when the server_url
    input argument is given. Credit: @woodbusy
  • support public/private key pair authentication for Jenkins CLI.
    Credit: @missedone

v0.12.0 release

10 Jul 05:26
Compare
Choose a tag to compare
  • Authentication is now optional as not all Jenkins instances have
    authentication enabled by default. Credit: @dougforpres
  • Ability to retrieve build details so that more than just (lamp color) is
    available. Credit: @dougforpres
  • Ability to retrieve build test-results for those builds that have them.
    Credit: @dougforpres
  • Option to follow any 301/302 responses. This allows POST to build to follow
    the redirect and end up with a 200 response. Credit: @dougforpres
  • Minor change to the POST requests handling where jenkins instances with a
    proxy returns 411 if no form data is specified. Fixed by sending an empty
    hash. Credit: @dougforpres
  • As of Jenkins release 1.519, the job build returns a 201 code instead of 302.
    This was resulting in an exception and the exception handling is modified to
    handle this condition.
  • The jobs that are not built yet have a new color (notbuilt) in the recent
    version of jenkins (> 1.517) which resulted in invalid status. This is fixed.

v0.11.0 release

10 Jul 05:28
Compare
Choose a tag to compare
  • A new input argument server_url is supported which accepts the jenkins URL
    instead of IP address and Port. Credit: @dieterdemeyer
  • When renaming the job, preserve the job history. Credit: @RubyTester
  • Various exception handling improvements. Credit: @drnic

v0.10.0 release

10 Jul 05:37
Compare
Choose a tag to compare
  • new function to execute jenkins CLI cli_exec. Credit: @missedone
  • Add ability to use http proxy. Credit: @woodbusy
  • prompt the user for credentials when using irb login script. @woodbusy
  • bugfix for job.console_output. Credit: @drnic
  • add ssl support. Credit: @madisp

v0.9.1 release

10 Jul 05:37
Compare
Choose a tag to compare
  • Removed the dependency of ActiveSupport and Builder as they were not being
    used.

v0.9.0 release

10 Jul 05:38
Compare
Choose a tag to compare
  • Added capability to send email notification to existing jobs
  • Removed warnings from client.rb
  • Refactored and improved exception handling
  • A bug is fixed in client which allows only the valid params as options.
    Credit: @Niarfe
  • Added a timeout parameter for waiting for jenkins to become ready.
    Credit: @Niarfe
  • Added function to reload jenkins. Credit: @missedone
  • Fixed a bug where jenkins_path was missing in get_config and post_config.
    Credit: @cylol
  • Added capability to obtain jenkins version and other useful information
  • Added new tests for various cases, and other code improvements