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
).
gem install jenkins-peace
No need to add it to your Gemfile, it will be globally available.
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
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 |
+------------------+-------------------------------------------------------+-------------------------------------------------------------------------+-------------+
A big thank to them for their contribution!
You can contribute to this plugin in many ways such as :
- Helping with documentation
- Contributing code (features or bugfixes)
- Reporting a bug
- Submitting translations