https://github.com/jbox-web/jenkins-peace
A small console application to manage Jenkins war files, easy, and in peace ;)
https://github.com/jbox-web/jenkins-peace
jenkins jenkins-dev jenkins-plugin jenkins-war ruby
Last synced: 3 months ago
JSON representation
A small console application to manage Jenkins war files, easy, and in peace ;)
- Host: GitHub
- URL: https://github.com/jbox-web/jenkins-peace
- Owner: jbox-web
- License: mit
- Created: 2015-09-19T04:51:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-06-20T02:28:24.000Z (about 5 years ago)
- Last Synced: 2025-03-13T07:01:58.017Z (4 months ago)
- Topics: jenkins, jenkins-dev, jenkins-plugin, jenkins-war, ruby
- Language: Ruby
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Jenkins ~~War~~ Peace
[](https://github.com/jbox-web/jenkins-peace/blob/master/LICENSE)
[](https://github.com/jbox-web/jenkins-peace/releases/latest)
[](https://rubygems.org/gems/jenkins-peace/versions/1.0.0)
[](https://rubygems.org/gems/jenkins-peace/versions/1.0.0)
[](https://travis-ci.com/jbox-web/jenkins-peace)
[](https://codeclimate.com/github/jbox-web/jenkins-peace)
[](https://codeclimate.com/github/jbox-web/jenkins-peace/coverage)### A small console application to manage Jenkins war files, easy, and in peace ;)
This gem aims to replace [jenkins-war](https://rubygems.org/gems/jenkins-war/versions/1.514) to manage Jenkins war files.
The previous version of this gem used to embed the war file directly in the GitHub repo which could lead to very long upload/download time and some warnings from Github about large files.
This one uses a cache directory to store Jenkins war files (```//.jenkins/war-files```).
## Installation
```ruby
gem install jenkins-peace
```No need to add it to your Gemfile, it will be globally available.
## Usage
```sh
Commands:
jenkins.peace clean # Remove all war files
jenkins.peace download # Download war file corresponding to version passed in params
jenkins.peace help [COMMAND] # Describe available commands or one specific command
jenkins.peace infos # Display infos about this gem
jenkins.peace install # Install war file corresponding to version passed in params (will download then unpack war file)
jenkins.peace latest # Display infos about the latest version of war file installed
jenkins.peace list # List war files installed
jenkins.peace remove # Remove war file corresponding to version passed in params
jenkins.peace server # Start a server with the war file corresponding to version passed in params
jenkins.peace unpack # Unpack war file corresponding to version passed in params
```## Example
```sh
nicolas@desktop:~$ jenkins.peace list
+------------------+-------------------------------------------------------+-------------------------------------------------------------------------+-------------+
| Version | Location | Classpath | Installed |
+------------------+-------------------------------------------------------+-------------------------------------------------------------------------+-------------+
| latest (1.629) | /home/nicolas/.jenkins/war-files/latest/jenkins.war | /home/nicolas/.jenkins/wars/latest/WEB-INF/lib/jenkins-core-1.629.jar | true |
| 1.628 | /home/nicolas/.jenkins/war-files/1.628/jenkins.war | /home/nicolas/.jenkins/wars/1.628/WEB-INF/lib/jenkins-core-1.628.jar | true |
+------------------+-------------------------------------------------------+-------------------------------------------------------------------------+-------------+
```## Contributors
A big thank to [them](https://github.com/jbox-web/jenkins-peace/blob/master/AUTHORS) for their contribution!
## Contribute
You can contribute to this plugin in many ways such as :
* Helping with documentation
* Contributing code (features or bugfixes)
* Reporting a bug
* Submitting translations