Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 3.83 KB

README.md

File metadata and controls

67 lines (49 loc) · 3.83 KB

Jenkins War Peace

GitHub license GitHub release Gem Gem Build Status Code Climate Test Coverage

A small console application to manage Jenkins war files, easy, and in peace ;)

This gem aims to replace jenkins-war 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 (/<home directory>/.jenkins/war-files).

Installation

gem install jenkins-peace

No need to add it to your Gemfile, it will be globally available.

Usage

Commands:
  jenkins.peace clean               # Remove all war files
  jenkins.peace download <version>  # 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 <version>   # 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 <version>    # Remove war file corresponding to version passed in params
  jenkins.peace server <version>    # Start a server with the war file corresponding to version passed in params
  jenkins.peace unpack <version>    # Unpack war file corresponding to version passed in params

Example

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