佩加 7.3。缺少应用程序错误。 (Pega-API-CI-分支)

Pega 7.3. Error Missing Application. (Pega-API-CI-Branch)

我对 Pega 7.3 有疑问。我必须自动化 jenkins 上的检查冲突。为此,我使用 http 请求身份验证,例如自动化 PEGA-Unit。所以我转到 PEGA-API,并使用 getconflict 和 returns 合并该分支时会发生的冲突列表。显示 url link (http://localhost:8081/prweb/api/v1/branches/{Id Branch}/conflicts),但是当我使用它时,我遇到了这个错误:

"pxObjClass": "Pega-API-CI-Branch",
"errors": [
{
  "ID": "Pega_API_029",
  "message": "Missing Application",
  "pxObjClass": "Pega-API-Error"
}

这是我对詹金斯的要求

 httpRequest authentication: '0e1600f3-08d1-496d-9408-148448f76896', httpMode: 'GET', responseHandle: 'NONE',outputFile: 'conflict.xml', url: 'http://172.31.180.192:8081/prweb/api/v1/branches/TestA/conflicts'

我不明白错误,在pega的网站上也没有找到答案(但我看到有人和我有同样的问题)。我不知道是否清楚,但如果有人可以提供帮助,那就太好了:)

您需要在 Pega-API-CI-Branch 中的 pySetApplicationDefaults 数据转换中设置 Param.ApplicationNameParam.ApplicationVersion 的值。

如果您也打算合并,您还需要 update pySetVersionPasswordDefaults 假设您有一个锁定的规则集或想要锁定您的规则集。 (您确实需要在使用分支时始终锁定您的规则集。)

我会调查为什么没有发布到 PDN