Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Portlet status from Jenkins
We are implementing continuous deployment with Jenkins and we would like to check that the portlets have been deployed correctly. Do you know if there is any endpoint of the liferay api that gives us this functionality?
Thank you
Thank you
Ovidiu David Dan:
gogo shell?
We are implementing continuous deployment with Jenkins and we would like to check that the portlets have been deployed correctly. Do you know if there is any endpoint of the liferay api that gives us this functionality?
Olaf already mentioned gogo shell, some other ideas:
Perhaps you could check the logfile of the server? ssh + tail + grep should do the trick.
Or place a testinstance of the portlet on a page, fetch the page and parse for some string that tells you that the expected version is deployed (e.g. version or build number)
What we do:
Since most of our services have rest endpoints nowadays, we usually have a "Get Status" method and we call it from a script to check if the module is still working correctly.
Perhaps you could check the logfile of the server? ssh + tail + grep should do the trick.
Or place a testinstance of the portlet on a page, fetch the page and parse for some string that tells you that the expected version is deployed (e.g. version or build number)
What we do:
Since most of our services have rest endpoints nowadays, we usually have a "Get Status" method and we call it from a script to check if the module is still working correctly.
Sorry, we are with Liferay 6.2..
Finally I solved this problem using market place service:AppLocalServiceUtil.getInstalledApps()
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™