@@ -7,20 +7,13 @@ Jenkins API Client
7
7
[ ![ Code Climate] ( http://img.shields.io/codeclimate/github/arangamani/jenkins_api_client.svg )] [ codeclimate ]
8
8
9
9
[ gem ] : https://rubygems.org/gems/jenkins_api_client
10
- [ travis ] : http://travis-ci.org/arangamani/jenkins_api_client
11
10
[ gemnasium ] : https://gemnasium.com/arangamani/jenkins_api_client
12
11
[ codeclimate ] : https://codeclimate.com/github/arangamani/jenkins_api_client
13
12
14
13
Copyright © ; 2012-2017, Kannan Manickam [ ![ endorse] ( http://api.coderwall.com/arangamani/endorsecount.png )] ( http://coderwall.com/arangamani )
15
14
16
15
Client libraries for communicating with a Jenkins CI server and programatically managing jobs.
17
16
18
- IRC Channel: ##jenkins-api-client (on freenode)
19
-
20
-
21
-
22
- Google Group: https://groups.google.com/group/jenkins_api_client
23
-
24
17
OVERVIEW:
25
18
---------
26
19
This project is a simple API client for interacting with Jenkins Continuous
@@ -104,8 +97,11 @@ parse the yaml file and pass it in. The following call just passes the
104
97
information as parameters
105
98
106
99
``` ruby
107
- @client = JenkinsApi ::Client .new (:server_ip => ' 0.0.0.0' ,
108
- :username => ' somename' , :password => ' secret password' )
100
+ @client = JenkinsApi ::Client .new (
101
+ server_ip: ' 0.0.0.0' ,
102
+ username: ' somename' ,
103
+ password: ' secret password'
104
+ )
109
105
# The following call will return all jobs matching 'Testjob'
110
106
puts @client .job.list(" ^Testjob" )
111
107
```
@@ -435,23 +431,18 @@ Please refer to [Ruby
435
431
Logger] ( http://www.ruby-doc.org/stdlib-1.9.3/libdoc/logger/rdoc/Logger.html )
436
432
for more information.
437
433
438
- CONTRIBUTING:
439
- -------------
440
-
441
- If you would like to contribute to this project, just do the following:
442
434
443
- 1 . Fork the repo on Github.
444
- 2 . Add your features and make commits to your forked repo.
445
- 3 . Make a pull request to this repo.
446
- 4 . Review will be done and changes will be requested.
447
- 5 . Once changes are done or no changes are required, pull request will be merged.
448
- 6 . The next release will have your changes in it.
449
435
450
- Please take a look at the issues page if you want to get started.
436
+ Gem Development
437
+ ---------------
451
438
452
- FEATURE REQUEST:
453
- ----------------
439
+ ### Updating java_deps/jenkins-cli.jar
454
440
455
- If you use this gem for your project and you think it would be nice to have a
456
- particular feature that is presently not implemented, I would love to hear that
457
- and consider working on it. Just open an issue in GitHub as a feature request.
441
+ Download the latest LTS "Generic Java package (.war)" ` jenkins.war ` from https://www.jenkins.io/download/ , then:
442
+ ```
443
+ mkdir tmp
444
+ cd tmp
445
+ mv ~/Downloads/jenkins.war .
446
+ jar -xvf jenkins.war
447
+ mv WEB-INF/lib/cli-*.jar ../java_deps/jenkins-cli.jar
448
+ ```
0 commit comments