Question
Jenkins is not able to send request to Pega Deployment Manager
I am able to connect from Pega Deployment Manager to Jenkins with Build output as success in Jenkins
Snapshot below
----
Console Output
Started by remote host 10.121.110.53
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/workspace/WSL_CICD
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : curl --user Admin.CICD_SB:rules -H "Content-Type: application/json" -X POST --data "{\"jobName\":\"JOB_NAME\",\"buildNumber\":\"BUILD_NUMBER\",\"pyStatusValue\":\"SUCCESS\",\"pyID\":\"BuildID\"}" "http://wsl85j1.web.bc:35522/WSL/"
[WSL_CICD] $ /bin/sh -xe /tmp/jenkins4851715278296523293.sh
+ curl --user Admin.CICD_SB:rules -H 'Content-Type: application/json' -X POST --data '{"jobName":"JOB_NAME","buildNumber":"BUILD_NUMBER","pyStatusValue":"SUCCESS","pyID":"BuildID"}' http://wsl85j1.web.bc:35522/WSL/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 94 0 0 100 94 0 6693 --:--:-- --:--:-- --:--:-- 7230
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Finished: SUCCESS
---------------------
but in my logs, i am getting below error
task|AF1QOTSD6PGR6F9O5FZEJRARUT4PM9ELE - Task status processing started. Task:deploy,FlowName:pzDeployRAP, Flow action Name:pzPauseTask Build id:PEGA-PIPELINE-CD WS-189, status:SUCCESS, message:File Fetched Successfully
[6/19/19 16:49:19:984 CEST] 0000008c SystemOut O 2019-06-19 16:49:19,984 [ WebContainer : 5] [ STANDARD] [ ] [sFoundation:02.01.03] (ules.generated.pega_rules_page) ERROR was10552.bc|10.121.110.40|Rest|cicd|v1|task|AF1QOTSD6PGR6F9O5FZEJRARUT4PM9ELE - Unable to perform ConvertPageToString, due to invalid inputs.
[6/19/19 16:49:20:214 CEST] 0000008c SystemOut O 2019-06-19 16:49:20,214 [ WebContainer : 5] [ STANDARD] [ ] [sFoundation:02.01.03] (ndler.Pega_Int_Pipeline.Action) INFO was10552.bc|10.121.110.40|Rest|cicd|v1|task|AF1QOTSD6PGR6F9O5FZEJRARUT4PM9ELE - Task status processing completed. Task:deploy Build id: PEGA-PIPELINE-CD WS-189
can someone please help.
Pipeline details are attached.
Due to "Unable to perform ConvertPageToString, due to invalid inputs." my pipeline never gets completed.
Thanks.
***Edited by Moderator: Lochan to update content and platform capability tags***
Hello,
Whenever we have seen this error it was because the Jenkins post build actions were not properly configured.
In the Documentation, see Installing, upgrading, and configuring Deployment Manager 4.4.x, particualry Step 5, configuring Jenkins: https://community.pega.com/knowledgebase/installing-upgrading-and-configuring-deployment-manager-44x#Jenkins
I hope this helps.