Question

13
Replies
233
Views
Solved

Got an err while integrating with Jenkins from Pega V722

Hi,

I have followed the below PDN article strictly to setup Jenkins integration using Pega 7.2.2 (Dev env).

https://community.pega.com/knowledgebase/articles/using-prpcserviceutils-and-jenkins-automated-application-deployment

I am getting the below err while deploying the code. Attached the settings and the err details too.

Jenkins version:2.209

JDK:1.8.0_121

ANT version: apache-ant-1.10.7

==================================

[jenkins] $ cmd.exe /C "ant.bat -file Jenkins-build.xml -DproductVersion=01.01.01 -DproductName=HRServicesRAP exportprops && exit %%ERRORLEVEL%%"
'ant.bat' is not recognized as an internal or external command,
operable program or batch file.
Build step 'Invoke Ant' marked build as failure
Finished: FAILURE

===============================

Can any expert in this area help me?

Thanks,

Ravi Kumar.