Created
December 6, 2016 13:31
-
-
Save indigo423/3af30dcb567717f6cfad75295d93aa34 to your computer and use it in GitHub Desktop.
Installation description for JIRA plugin 18.0.3 in running OpenNMS Horizon 18.0.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download and extract 18.0.3 JIRA plugin jars | |
cd /root | |
curl http://yum.opennms.org/branches/release-18.0.3/common/opennms/opennms-plugin-ticketer-jira-18.0.3-0.20161202.onms1025.release.18.0.3.42.noarch.rpm -o opennms-plugin-ticketer-jira-18.0.3.noarch.rpm | |
rpm2cpio opennms-plugin-ticketer-jira-18.0.3.noarch.rpm | cpio -idmv | |
# Stop OpenNMS | |
systemctl stop opennms | |
# Backup old JIRA jars from 18.0.2 | |
cd /opt/opennms/system/org/opennms/features/jira-client/18.0.2/ | |
mv jira-client-18.0.2.jar jira-client-18.0.2.jar.backup | |
cd /opt/opennms/system/org/opennms/features/jira-troubleticketer/18.0.2 | |
mv jira-troubleticketer-18.0.2.jar jira-troubleticketer-18.0.2.jar.backup | |
# Replace 18.0.2 executable code from 18.0.3 | |
cd /root | |
cp ./opt/opennms/system/org/opennms/features/jira-client/18.0.3-SNAPSHOT/jira-client-18.0.3-SNAPSHOT.jar /opt/opennms/system/org/opennms/features/jira-client/18.0.2/jira-client-18.0.2.jar | |
cp ./opt/opennms/system/org/opennms/features/jira-troubleticketer/18.0.3-SNAPSHOT/jira-troubleticketer-18.0.3-SNAPSHOT.jar /opt/opennms/system/org/opennms/features/jira-troubleticketer/18.0.2/jira-troubleticketer-18.0.2.jar | |
# Cleanup Karaf cached libraries | |
rm -rf /opt/opennms/data/* | |
# Start OpenNMS | |
systemctl start opennms | |
# JIRA helper in Karaf Shell | |
ssh -p 8101 admin@localhost | |
# In Karaf are now JIRA commands available | |
# Shows all JIRA Components | |
jira:list-components | |
# Shows all JIRA ticket fields | |
jira:list-fields | |
# Shows all JIRA issue types | |
jira:list-issue-types | |
# Shows all JIRA issue priorities | |
jira:list-priorities | |
# Shows all JIRA projects | |
jira:list-projects | |
# Shows all JIRA versions | |
jira:list-versions | |
# Shows JIRA configuration | |
jira:show-config | |
# Tests connectivity with given JIRA configuration | |
jira:verify |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment