Krzysztof Gołębiowski Il y a 9 années Very interesting post! There are very few articles about how to do CI for Liferay properly (actually I don't know any). Custom portlet for managing liferay-maven plugins is quite an interesting idea (do you plan to release it on the marketplace?). I still use jenkins together with ssh plugin and always had a problem with checking if the deployment is successfull. At the moment there is a bash script waiting for certain log messages (eg. "x portlet has been deployed") and if it's not found, build is marked as FAILED. This is a very error prone solution and gives lots of false negatives. Did you managed to solve this problem? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Marcus Hjortzén Krzysztof Gołębiowski Il y a 9 années No plans on marketplace. To be honest, the code is in no state to be shown to anyone Still, it would be a neat app to put there, if we ever rewrite the portlet we will probably make it open source and available on marketplace.We had the same problem with determining if a plugin was installed correctly when using Jenkins. In one of the minor releases of 6.1 the text saying ".. portlets has been deployed" even disappeared, so, no, we ended up with just doing a fire-and-forget, having to manually check the log for actual results.With the plugin however we're getting other options. I believe we're polling the portal asking for the plugin until it appears, with a timeout indicating failure.Also (not a problem lately) there was a problem where deployment got stuck halvway through and you had to redeploy the same war-file again. To get around that problem we try to install the plugin 3 times before failing completely. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Krzysztof Gołębiowski Marcus Hjortzén Il y a 9 années Didn't you try to utilize the message that is sent on Liferay messagebus when the plugin is successfully deployed? This was my recent idea that could solve problem with verifying plugin deployment status. I planned to install a hook containing message listener that would somehow notice Jenkins when the plugin is deployed. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Marcus Hjortzén Krzysztof Gołębiowski Il y a 9 années I did not. Had no idea!That's perfect, thank you Krzysztof! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Marcus Hjortzén Krzysztof Gołębiowski Il y a 9 années No plans on marketplace. To be honest, the code is in no state to be shown to anyone Still, it would be a neat app to put there, if we ever rewrite the portlet we will probably make it open source and available on marketplace.We had the same problem with determining if a plugin was installed correctly when using Jenkins. In one of the minor releases of 6.1 the text saying ".. portlets has been deployed" even disappeared, so, no, we ended up with just doing a fire-and-forget, having to manually check the log for actual results.With the plugin however we're getting other options. I believe we're polling the portal asking for the plugin until it appears, with a timeout indicating failure.Also (not a problem lately) there was a problem where deployment got stuck halvway through and you had to redeploy the same war-file again. To get around that problem we try to install the plugin 3 times before failing completely. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Krzysztof Gołębiowski Marcus Hjortzén Il y a 9 années Didn't you try to utilize the message that is sent on Liferay messagebus when the plugin is successfully deployed? This was my recent idea that could solve problem with verifying plugin deployment status. I planned to install a hook containing message listener that would somehow notice Jenkins when the plugin is deployed. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Marcus Hjortzén Krzysztof Gołębiowski Il y a 9 années I did not. Had no idea!That's perfect, thank you Krzysztof! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Krzysztof Gołębiowski Marcus Hjortzén Il y a 9 années Didn't you try to utilize the message that is sent on Liferay messagebus when the plugin is successfully deployed? This was my recent idea that could solve problem with verifying plugin deployment status. I planned to install a hook containing message listener that would somehow notice Jenkins when the plugin is deployed. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Marcus Hjortzén Krzysztof Gołębiowski Il y a 9 années I did not. Had no idea!That's perfect, thank you Krzysztof! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Marcus Hjortzén Krzysztof Gołębiowski Il y a 9 années I did not. Had no idea!That's perfect, thank you Krzysztof! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler