-
Re: Deployment automation for Jive plugins and themes
gopi.gorantala Sep 16, 2016 5:14 AM (in response to hymavathi)You can create a generic plugin and follow below steps -
1. Make sure your generic/build plugin points to the project root pom.xml
2. Your custom plugins Parent artifactId should point to the generic plugin artifactId
3. when you run the "mvn clean package", make sure the jars get dumped into the new generic/build plugin
4. once you have all jars in place in a folder, you can write some script for the auto-build.
Hope this helps.
-Gopi.
-
Re: Deployment automation for Jive plugins and themes
florjud May 29, 2017 12:30 AM (in response to hymavathi)via the jive search I have found your question. Because we are discussing about the same topic in our company at the moment, I am really interested in if you have found a solution for this in meanwhile.
What's your solution for an auto deployment of plugins, themes and perhaps tiles?
BR, Florain
-
Re: Deployment automation for Jive plugins and themes
Ryan Rutan May 30, 2017 9:16 AM (in response to florjud)I'm not sure if this will help, but I wrote a CLI interface for the Admin Essentials Plugin a long time ago that gave a CLI interface to upload Jive plugins directly to the database...upon restart, the plugins are serialized to the app nodes. It should still work; however, I haven't tried this since Jive 4.5.x.
I hope the attached file helps.
Note: This was written specifically for Oracle, but generically abstracting it to JDBC should be pretty straight forward.
Themes are a bit trickier ...but doable, as we do this in Jive Hosting, but it's an internal tool =\
Hope that helps.
-
CliPluginAdmin.java 13.8 KB
-
Re: Deployment automation for Jive plugins and themes
florjud May 31, 2017 10:59 PM (in response to Ryan Rutan)Thanks Ryan Rutan I will test it on our development environment :-)
-
Re: Deployment automation for Jive plugins and themes
Nils DrewsJun 13, 2017 8:14 AM (in response to Ryan Rutan)
1 person found this helpfulWe have better ways of doing this these days ... and I think it is unrelated to the Admin Essentials Plugin as it is packaged right now. This is just an addendum, an additional use you added to that plugin. TBH - I don't think there is a need for this these days any more.
-
-
-
Re: Deployment automation for Jive plugins and themes
mcollinge Jun 7, 2017 2:23 AM (in response to hymavathi)1 person found this helpfulIf you have the JAR files all ready to go, you could automate the upload to Jive via cURL commands that simulate the requests a browser would make to upload them via the admin pages. That's something our team recently thought of, but haven't yet tried to implement.
-
Re: Deployment automation for Jive plugins and themes
Nils DrewsJun 13, 2017 8:16 AM (in response to mcollinge)
5 people found this helpfulYou can just copy the plugin jars into the plugins directory. Jive OOTB will pick them up and deploy them. It adds a them to the DB and then pulls them out again. Thus this deployment is just a copy command with a restart command combined nowadays. Jive PS will surely be of support for you if you need more details (shamelessly self-promoting our services here ).
-
Re: Deployment automation for Jive plugins and themes
hymavathi Jun 15, 2017 8:20 AM (in response to Nils Drews)Thanks all for your suggestions!
I will test Nils Drews approach. Does this approach same for a new plugin and a revision of an existing plugin?
-
Re: Deployment automation for Jive plugins and themes
Nils DrewsJun 19, 2017 6:19 AM (in response to hymavathi)
For both.
-
-
Re: Deployment automation for Jive plugins and themes
Ryan Rutan Jun 19, 2017 7:39 AM (in response to Nils Drews)Nils, that's good to know. Again, haven't done plugin development in quite some time =)
-
Re: Deployment automation for Jive plugins and themes
jayjayprod Jun 21, 2017 5:27 AM (in response to Nils Drews)Is a similar solution available for addons?
(Import addons from API ? Copy to a directory? .... )-
Re: Deployment automation for Jive plugins and themes
Ryan Rutan Jun 21, 2017 6:00 AM (in response to jayjayprod)Unfortunately no. The closest we have for this is the Add-On Registry; however, there is an internal API that might be able to leveraged in the future if there is enough interest and demand. In it's current state it is not in a position to be used for mass consumption.
I would recommend starting a feature request in Ideas for Jive and crowdsourcing it there to see about the adoption.
Wish I had a better response for you.
-
-
-