Posted: 7 Jun 2016 22:36 EDT Last activity: 13 Jun 2016 13:55 EDT
How to know the status of a RAP deployment from a CI tool
We are working on building a pipeline two jobs ( one for deployment and another one for executing a series of tests in target system). We are planning to use command line utilities provided by Pega to perform the deployment to target system. The 'migrate' command is submitting the migration request and 'getMigrationLog' command is giving logs which contains Status of the deployment ( In-Progress / Failed / Success).
Is there a way to know if the deployment is successful or not so that the test execution job can be triggered only when deployment is successful?
What version of Pega are you on? Are you planning on using prpcUtils or prpcServiceUtils or productMigration to do the export/import? Since you specify the migrate command it seems like you are using productMigration but just want to confirm. I don't see anything in this utility to get the status. You would need to get the logs and grep the log for in-progress/failed/success. The prpcServiceUtils scipt does have a getStatus option to check on the status of the export/import.