微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Spinnaker-提取工件名称时出错:500 Internal Server Error

如何解决Spinnaker-提取工件名称时出错:500 Internal Server Error

我想在JFrog Artifactory中使用Spinnaker。

我已经阅读了两个文档 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上运行,我更改了存储,虚拟机管理程序,版本...

请告知。

谢谢。

解决方法

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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。