Question
Zensar Technologies Ltd
IN
Last activity: 31 Aug 2018 13:25 EDT
Unable to Export RAP using Jenkins
Hi,
I am unable to export RAP from Jenkins using prpcServiceutils. I have tried executing the same from both Linux and Windows.
Please see below error:
Hi,
I am unable to export RAP from Jenkins using prpcServiceutils. I have tried executing the same from both Linux and Windows.
Please see below error:
Caused by: java.lang.IllegalStateException: Response does not contain Content-Type header. The URL https://{HOSTNAME}/prweb/PRRestService/SystemManagement/v2/Export may be invalid [java] at com.pega.pegarules.serviceclient.rest.RestResponse.parseEntities(RestResponse.java:120) ~[prdeploy.jar:?] [java] at com.pega.pegarules.serviceclient.rest.RestResponse.parseResponse(RestResponse.java:101) ~[prdeploy.jar:?] [java] at com.pega.pegarules.serviceclient.rest.RestResponse.<init>(RestResponse.java:85) ~[prdeploy.jar:?] [java] at com.pega.pegarules.serviceclient.rest.RestClient.parseReponse(RestClient.java:237) ~[prdeploy.jar:?] [java] at com.pega.pegarules.serviceclient.rest.RestClient.doGet(RestClient.java:188) ~[prdeploy.jar:?] [java] at com.pega.pegarules.serviceclient.rest.RestClient.sendRequest(RestClient.java:79) ~[prdeploy.jar:?] [java] at com.pega.pegarules.serviceclient.rest.RestClient.sendRequest(RestClient.java:1) ~[prdeploy.jar:?] [java] at com.pega.pegarules.serviceclient.rest.AbstractRestRequest.execute(AbstractRestRequest.java:57) ~[prdeploy.jar:?] [java] at com.pega.pegarules.serviceclient.rest.AbstractRestRequest.execute(AbstractRestRequest.java:1) ~[prdeploy.jar:?] [java] at com.pega.pegarules.serviceclient.request.AbstractRequest.call(AbstractRequest.java:62) ~[prdeploy.jar:?] [java] at com.pega.pegarules.serviceclient.request.AbstractRequest.call(AbstractRequest.java:1) ~[prdeploy.jar:?] [java] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_161] [java] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_161] [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_161] [java] at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_161] [java] [java] FAILED JOBS [java] -------------------------------------------------------------------------------------------- [java] [java] System Name : jenkins-Pega_POC-4 [java] Job ID : [java] Status : [java] Error Messages : REQUEST_EXECUTION_ERROR java.lang.IllegalStateException: Response does not contain Content-Type header. The URL https://{HOSTNAME}/prweb/PRRestService/SystemManagement/v2/Export may be invalid [java] -------------------------------------------------------------------------------------------- [java] 09:58:04.765 [main] INFO [viceclient.requestmanager.RequestManager] - Shutting down executor service [java] 09:58:04.765 [main] INFO [viceclient.requestmanager.RequestManager] - Executor Service shutdown completed [java] Exception in thread "main" Operation EXPORT failed on jenkins-Pega_POC-4, [java] at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:116) [java] at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61) BUILD FAILED C:\prpcServiceUtils_73\scripts\utils\prpcserviceutilsWrapper.xml:180: The following error occurred while executing this line: C:\prpcServiceUtils_73\scripts\utils\prpcserviceutilsWrapper.xml:198: Java returned: 1 Total time: 2 seconds Exiting with Error Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE