Question
Rest Service for Jenkins
Hello All,
we are integrating Jenkins for devops pack by Pega, During Jenkins setup we faced an error:-
Error Messages : REQUEST_VALIDATION_ERROR java.lang.IllegalArgumentException: Invalid URL provided for system DefaultSystem URL:http://<host name>:<port number>/<context>/PRRestService/<tenant url hash> Error Messages : REQUEST_VALIDATION_ERROR java.lang.IllegalArgumentException: Invalid URL provided for system DefaultSystem URL:http://<host name>:<port number>/<context>/PRRestService/<tenant url hash>
and found out the root cause to be the wrong details in pega.rest.server.url=<REST service URL> provided during the jenkins setup.
SInce i am not a Jenkins guys, I tried to find out details on creating a REST service for Import by the jenkins, however no details are there on PDN for the jenkins integration.
SINCE THIS SETUP IS TO AUTOMATE THE DEPLOYMENT:-
As of now the page class in the servcie REST rule is Rule-Admin-Product. however i am not sure on the methods.
can anyone help here with some examples for this kind of setup.
Thank your in Advance!
Thanks,
Swagat
Hi, can you indicate your Pega version? Are you following this link: https://pdn.pega.com/using-prpcserviceutils-and-jenkins-automated-application-deployment/using-prpcserviceutils-and?