[英]JX Promote returns 404 and exits from the job
jx安裝在GKE(Google Kubernetes引擎)中並配置了bitbucket雲存儲庫。
嘗試使用jx提升構建收益時返回
Promoting app sample-spring version 0.0.11 to namespace jx-staging
error: finding existing PRs using filter on repo baskar030/environment-XXX-staging: listing open pull requests on baskar030/environment-XXX-staging: Status: 404 Not Found, Body: {"type": "error", "error": {"message": "Resource not found", "detail": "There is no API hosted at this URL.\n\nFor information about our API's, please refer to the documentation at: https://developer.atlassian.com/bitbucket/api/2/reference/"}}
script returned exit code 1
jx version
的輸出為:
COPY OUTPUT HERE
NAME VERSION
jx 2.0.398
jenkins x platform 2.0.744
Kubernetes cluster v1.12.8-gke.10
kubectl v1.12.8-dispatcher
helm client Client: v2.13.1+g618447c
git git version 2.17.2 (Apple Git-113)
Operating System Mac OS X 10.13.6 build 17G65
-經典詹金斯
GKE群集版本1.12.8-gke.10
的Ubuntu
此錯誤與以下問題有關: Bitbucket Cloud API棄用
只要Jenkins X使用的bitbucket雲API (請參見jx \\ pkg \\ gits \\ bitbucket_cloud.go)尚未修復,就會遇到此錯誤。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.