I am working on the Pega Deployment Manager in our Pega environment. I added a custom task to run regression testing to connect to an external system, Github, pulling up a workflow that has the logic to run regression tests. However, it keeps on giving me the error, “The task execution failed on the target environment, please validate if the environment is on a supported version of PegaDevOps Foundation.” I am unable to fix the issue.
Can someone provide any suggestions as to how to proceed and bypass this error?
@LindaZ26 Hi Linda, this error usually means the target system does not have the right PegaDevOps Foundation version that matches your Deployment Manager. First, log in to the target environment and confirm that the PegaDevOpsFoundation application is installed and enabled. If it is not there or is on an older release, ask your admin to import the correct DevOps Foundation package for your Pega version and then restart the nodes. Next, check the environment configuration in Deployment Manager and make sure the URL and authentication profile are correct and that the user can call the /devops REST APIs on the target. For your custom regression-test task, make sure it is defined as a remote task and that all the rules and data it needs also exist in the target environment, not only in the Deployment Manager system. Test the same environment with a simple out-of-the-box task (for example, a normal deploy step) to confirm the connection works. You cannot really bypass this version check, so if everything looks correct and it still fails, capture logs/tracer from the target