概要

jx安装在GKE(Google Kubernetes引擎)中并配置了bitbucket云存储库。

尝试使用jx提升构建 yield 时返回

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版本
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

Jenkins 型

-经典 Jenkins

Kubernetes集群

GKE群集版本1.12.8-gke.10

操作系统/环境

的Ubuntu

最佳答案

此错误与以下问题有关:Bitbucket Cloud API deprecations

只要Jenkins X使用的the bitbucket cloud API(请参阅jx \ pkg \ gits \ bitbucket_cloud.go)尚未修复,就会遇到此错误。

关于jenkins - JX Promote返回404并退出工作,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/56884625/

10-11 17:49