Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,18 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.7, 3.0, 3.2, head]
ruby: [3.2, 3.3, 3.4, 4.0]
operating-system: [ubuntu-latest]

name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}

runs-on: ${{ matrix.operating-system }}

steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Run Build
run: bundle exec rake build

- name: Test Gem
run: bundle exec rake unit_tests
- run: bundle exec rake build
- run: bundle exec rake unit_tests
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,20 @@ Jenkins API Client
==================

[![Gem Version](http://img.shields.io/gem/v/jenkins_api_client.svg)][gem]
[![Build Status](http://img.shields.io/travis/arangamani/jenkins_api_client.svg)][travis]
[![Dependency Status](http://img.shields.io/gemnasium/arangamani/jenkins_api_client.svg)][gemnasium]
[![Code Climate](http://img.shields.io/codeclimate/github/arangamani/jenkins_api_client.svg)][codeclimate]

[gem]: https://rubygems.org/gems/jenkins_api_client
[gemnasium]: https://gemnasium.com/arangamani/jenkins_api_client
[codeclimate]: https://codeclimate.com/github/arangamani/jenkins_api_client

Copyright © 2012-2017, Kannan Manickam [![endorse](http://api.coderwall.com/arangamani/endorsecount.png)](http://coderwall.com/arangamani)
Copyright © 2012-2017, Kannan Manickam

Client libraries for communicating with a Jenkins CI server and programatically managing jobs.
Client libraries for communicating with a Jenkins CI server and programmatically managing jobs.

OVERVIEW:
---------
This project is a simple API client for interacting with Jenkins Continuous
Integration server. Jenkins provides three kinds of remote access API.
1. XML API, 2. JSON API, and 3. Python API. This project aims at consuming the
JSON API and provides some useful functions for controlling jobs on the Jenkins
programatically. Even though Jenkins provides an awesome UI for controlling
programmatically. Even though Jenkins provides an awesome UI for controlling
jobs, it would be nice and helpful to have a programmable interface so we can
dynamically and automatically manage jobs and other artifacts.

Expand Down
4 changes: 3 additions & 1 deletion jenkins_api_client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.executables = ['jenkinscli']
s.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{lib/|bin/|java_deps/|gemspec}) }
s.homepage = 'https://github.com/arangamani/jenkins_api_client'
s.required_ruby_version = '>= 2.7'
s.required_ruby_version = '>= 3.2'
s.summary = "Jenkins JSON API Client"
s.licenses = ["MIT"]

Expand All @@ -23,4 +23,6 @@ Gem::Specification.new do |s|
s.add_dependency 'socksify', '>= 1.7.0'
s.add_dependency 'json', '>= 1.0'
s.add_dependency 'addressable', '~> 2.7'
s.add_dependency 'base64'
s.add_dependency 'logger'
end