Skip to content

Commit 82f125a

Browse files
authored
Merge pull request #322 from arangamani/grosser/jenk
cleanup and install instructions
2 parents f778e41 + 96d1aed commit 82f125a

File tree

1 file changed

+16
-25
lines changed

1 file changed

+16
-25
lines changed

README.md

+16-25
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,13 @@ Jenkins API Client
77
[![Code Climate](http://img.shields.io/codeclimate/github/arangamani/jenkins_api_client.svg)][codeclimate]
88

99
[gem]: https://rubygems.org/gems/jenkins_api_client
10-
[travis]: http://travis-ci.org/arangamani/jenkins_api_client
1110
[gemnasium]: https://gemnasium.com/arangamani/jenkins_api_client
1211
[codeclimate]: https://codeclimate.com/github/arangamani/jenkins_api_client
1312

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

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

18-
IRC Channel: ##jenkins-api-client (on freenode)
19-
20-
Mailing list: [email protected]
21-
22-
Google Group: https://groups.google.com/group/jenkins_api_client
23-
2417
OVERVIEW:
2518
---------
2619
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
10497
information as parameters
10598

10699
```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+
)
109105
# The following call will return all jobs matching 'Testjob'
110106
puts @client.job.list("^Testjob")
111107
```
@@ -435,23 +431,18 @@ Please refer to [Ruby
435431
Logger](http://www.ruby-doc.org/stdlib-1.9.3/libdoc/logger/rdoc/Logger.html)
436432
for more information.
437433

438-
CONTRIBUTING:
439-
-------------
440-
441-
If you would like to contribute to this project, just do the following:
442434

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.
449435

450-
Please take a look at the issues page if you want to get started.
436+
Gem Development
437+
---------------
451438

452-
FEATURE REQUEST:
453-
----------------
439+
### Updating java_deps/jenkins-cli.jar
454440

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

Comments
 (0)