首页 > 解决方案 > Spinnaker - 获取工件名称时出错:500 内部服务器错误

问题描述

我想将 Spinnaker 与 JFrog Artifactory 一起使用。

我已经关注了这两个文档 https://www.spinnaker.io/guides/user/pipeline/triggers-with-artifactsrewrite/artifactory/ http://theblasfrompas.blogspot.com/2019/06/deploy-artifacts-from- jfrog-artifactory.html

hal config
  repository:
    artifactory:
      enabled: true
      searches:
      - name: spring-artifactory
        permissions: {}
        baseUrl: https://xxx.jfrog.io/artifactory
        repo: libs-snapshot-local
        groupId: com.example
        repoType: maven
        username: usernamexxx
        password: passwordxxx
    maven:
      enabled: true
      accounts:
      - name: spring-artifactory-maven
        repositoryUrl: https://xxx.jfrog.io/artifactory/libs-snapshot-local/

添加自动触发器后部署后,键入 Artifactory 我立即变成红色,出现以下错误

获取工件名称时出错:500 内部服务器错误

http://192.168.39.83:30808/artifactory/names 500 状态:500,错误:“内部服务器错误”,消息:“没有值存在”}

Spinnaker 在 minikube 上运行,我更改了存储、管理程序、版本,...

请指教。

谢谢。

标签: artifactoryspinnaker

解决方案


我将 local-artifactory 更改为local-artifactory并且它起作用了。我现在可以检索工件中的构建。


推荐阅读