有一个大项目,它将克隆多个项目并构建它们。所以我希望用一个版本标签来标记这些项目。
但它提示我需要'GenericContribute‘权限,日志如下
git -c http.extraheader="AUTHORIZATION: bearer ***" tag 1.15.11
git -c http.extraheader="AUTHORIZATION: bearer ***" push origin 1.15.11
remote: 0000000000aaTF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\0dea3e47-c818-4a83-ae9d-0422c80128c5', scope 'repository'.
2020-07-16T11:11:55.7839182Z [11:11:55.780 INF] remote: TF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\0dea3e47-c818-4a83-ae9d-0422c80128c5', scope 'repository'.
发布于 2020-10-07 23:17:06
我相信,如果你给你的构建服务用户许可,它会工作的。
https://stackoverflow.com/questions/62933675
复制相似问题