【发布时间】:2021-10-14 19:38:30
【问题描述】:
我无法成功更新存储库变量,也不知道为什么它不起作用。
我已经能够通过 API 获取所有必要的 ID,并且正在发出以下 curl 请求:
curl -X PUT "https://api.bitbucket.org/2.0/repositories/{workspace}/{repository}/pipelines_config/variables/{variable_uuid}" -H 'Content-Type: application/json' -d '{"value":"{value}","key":"{name}"}'
从这里我得到:
{"type": "error", "error": {"message": "Resource not found"}}
有没有人知道我已经尝试改变我能想到的所有东西但没有运气
【问题讨论】:
-
你修好了吗?我收到同样的错误。我在 Bitbucket 论坛中找到了这个:community.atlassian.com/t5/Bitbucket-questions/… 但是,没有成功
标签: bitbucket bitbucket-pipelines bitbucket-api