首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >警告:将工件作为“存档”上传到协调器..。失败的id=1515 responseStatus=500内部服务器错误status=500

警告:将工件作为“存档”上传到协调器..。失败的id=1515 responseStatus=500内部服务器错误status=500
EN

Stack Overflow用户
提问于 2021-03-22 05:06:07
回答 1查看 8.1K关注 0票数 1

我正在使用Gitlab自我服务器社区版本ci/cd功能,它运行良好,但是突然有一天,gitlab/cicd中的所有项目都失败了,它提到以下错误:

代码语言:javascript
运行
复制
Uploading artifacts for successful job
Uploading artifacts...
promotion-api/my-boot-module-system/target/*.jar: found 1 matching files and directories 
WARNING: Uploading artifacts as "archive" to coordinator... failed  id=1515 responseStatus=500 Internal Server Error status=500 token=xrDFnLeB
WARNING: Retrying...                                context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts as "archive" to coordinator... failed  id=1515 responseStatus=500 Internal Server Error status=500 token=xrDFnLeB
WARNING: Retrying...                                context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts as "archive" to coordinator... failed  id=1515 responseStatus=500 Internal Server Error status=500 token=xrDFnLeB
FATAL: invalid argument                            
ERROR: Job failed: exit code 1

下面是..gitlab ci.yml中的代码

代码语言:javascript
运行
复制
deploy-java:
  stage: deploy
  dependencies:
    - build-java
  image:
    name: docker/compose:latest
  before_script:
    - docker info
    - docker-compose -v
  script:
    - cd promotion-api
    - docker-compose build
    - docker images
    - docker ps -a
    - docker-compose up -d
  tags:
    - promotion

2021-3-29:

我把运行程序从linux版本换成了docker,现在看来一切都很好。

EN

回答 1

Stack Overflow用户

发布于 2021-05-10 14:02:34

您在GitLab本身中遇到了一个bug。它应该明确地说明问题所在,而不是一个相当模糊的HTTP状态500。在您的存储库或CI设置中,这可能不是一个问题。

请关注这些问题以了解更多信息:

在传输过程中停止了https://gitlab.com/gitlab-org/gitlab-runner/-/issues/26869

  • Artifact

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66740594

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档