Wiki
Clone wikiscripts / Home
Welcome!
Remember the good ol' days when we could check if all plugins installed in a customer's instance were compatible using Renjith's Never Look At That Log Again script?
His script stopped working a while ago and since them we'd need to struggle with Hercules to get a list of compatible add-ons or check them manually (NOOOOO!). Well... Not Anymore!
I wrote this script to help us verify if all plugins in a customer's instance are compatible and to download them if necessary. It accepts either an application.xml file from JIRA's Support Zip or a log file (that contains the startup information). This is how to use it:
Script Options
#! -h: HALP! -i: Used to specify the input file (applications.xml file) -c: Tells the script to check the plugin's compatibility (default option if -d is not specified) -d: Tells the script to download the plugins (if -c is specified, ignores -d) -o: The destination directory to which this script will download the plugins if -d is specified. If the directory doesn't exist, it will be created -l: Tells the script that the input file is a log instead of application.xml (which is the default)
Examples
To check the plugins compatibility:
#! checkCompatibility -i <application.xml> OR checkCompatibility -l -i <atlassian-jira.log>
To download the plugins:
#! checkCompatibility -d -i <application.xml> -o <jira-home/plugins/installed-plugins> OR checkCompatibility -d -l -i <atlassian-jira.log> -o <jira-home/plugins/installed-plugins>
How to Install
Simply run the following in your terminal:
#!bash
git clone https://bitbucket.org/mfernandes/scripts.git
Have fun! And please let me know if you face any problems or have any suggestions!
Updated