尝试在 azure devops 中克隆管道时遇到授权问题
Im having an authorization problem when trying to clone a pipeline in azure devops
我有正确的授权,我可以手动克隆管道,但是当我尝试使用邮递员进行克隆时,我收到以下响应:
{
"$id": "1",
"innerException": null,
"message": "You are not authorized to access this API. Please contact your project administrator",
"typeName": "System.UnauthorizedAccessException, mscorlib",
"typeKey": "UnauthorizedAccessException",
"errorCode": 0,
"eventId": 0
}
我正在使用以下 url:GET https://{instance}/{collection}/{project}/_apis/test/cloneoperation/{cloneOperationId}?api-version=5.0-preview.2
请帮忙。
_apis/test/cloneoperation/xxx不用于克隆管道,它用于获取克隆信息以供测试plan/suite。
要克隆管道,您可以get a build definition, then update something and create a new build definition。
我有正确的授权,我可以手动克隆管道,但是当我尝试使用邮递员进行克隆时,我收到以下响应:
{
"$id": "1",
"innerException": null,
"message": "You are not authorized to access this API. Please contact your project administrator",
"typeName": "System.UnauthorizedAccessException, mscorlib",
"typeKey": "UnauthorizedAccessException",
"errorCode": 0,
"eventId": 0
}
我正在使用以下 url:GET https://{instance}/{collection}/{project}/_apis/test/cloneoperation/{cloneOperationId}?api-version=5.0-preview.2
请帮忙。
_apis/test/cloneoperation/xxx不用于克隆管道,它用于获取克隆信息以供测试plan/suite。
要克隆管道,您可以get a build definition, then update something and create a new build definition。