2017-03-01 78 views
0

我尝试在我的Gitlab使用的文物,当我跑步者试图把我的神器文件上Giltlab,我有这样的信息:Gitlab亚军文物:405不允许的方法

WARNING: Uploading artifacts to coordinator... failed id=504 responseStatus=405 Method Not Allowed status=405 Method Not Allowed token=HebbSqMD 
WARNING: Retrying...        
WARNING: Uploading artifacts to coordinator... failed id=504 responseStatus=405 Method Not Allowed status=405 Method Not Allowed token=HebbSqMD 
WARNING: Retrying...        
WARNING: Uploading artifacts to coordinator... failed id=504 responseStatus=405 Method Not Allowed status=405 Method Not Allowed token=HebbSqMD 
FATAL: invalid argument        
ERROR: Job failed: exit code 1 

我的工作是:

build: 
    stage: build 
    script: 
    - echo "Building the app" > out.txt 
    artifacts: 
    paths: 
     - out.txt 

Gitlab 8.16或8.17:相同probleme

其他主机(搬运工执行人)上

Gitlab转轮:1.11.0 1.10.4ø:相同probleme

回答

0

只需在/etc/gitlab/gitlab.rb文件中启用已验证的构件:

## Build Artifacts 
    # gitlab_rails['artifacts_enabled'] = true 
    # gitlab_rails['artifacts_path'] = "/mnt/storage/artifacts"