Hi
I am writing a script of automatic confluence installation. I have found out how to install it with unattended mode.
Base on this, I was wondering that if it is possible to encapsulate some plugins by writing some script. Like copying jar file to certain place?
Many thanks.
https://confluence.atlassian.com/confkb/automate-plugin-installation-in-confluence-1018271880.html
Purpose
If you are looking to automate Confluence deployments, you may also like to include third-party apps that are used extensively by users. This article explains steps on how to automate plugin installation in Confluence.
Solution
- Grab the .jar files of the plugins in concern from their Atlassian Marketplace page
- If they are in .obr format, convert it to a zip file and extract the jar file from inside this folder.
- Copy the jar file and paste it in
<Confluence-install>/confluence/WEB-INF/atlassian-bundled-plugins
folder- Restart Confluence
These plugins will be installed as system plugins. You can disable the plugin from the UI, but cannot uninstall it. If you need to uninstall it in the future, the .jar file needs to be removed from the
atlassian-bundled-plugins
folder followed by Clearing the plugins cache.
You can drop add-ons into the plugins directory and restart Confluence, but there are some add-ons that don't work if you do it that way.
I would strongly recommend not doing this though, you should use the API to install add-ons (via the GUI)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.