简体   繁体   English

Gitlab CI工件因403崩溃

[英]Gitlab CI artifacts crashes with 403

When I make a gitlab ci with artifacts (Android-Project) the build itself runs without problems. 当我使用工件(Android-Project)制作gitlab ci时,构建本身可以正常运行。 Also the Archiving is no problem, but when it comes to "Uploading artifacts" the ci gets a 403 - Forbidden. 存档也没问题,但是当涉及到“上传工件”时,ci得到403-禁止。 Anyone any idea? 有人知道吗?

Here are the last log entries: 这是最后的日志条目:

Archiving cache...
INFO[0000] Creating archive cache.tgz ...               
INFO[0000] Done!                                        
Archiving artifacts...
INFO[0000] Creating archive artifacts.tgz ...           
INFO[0000] Done!                                        
Uploading artifacts...
8,7M    artifacts.tgz
curl: (22) The requested URL returned error: 403 Forbidden

ERROR: Build failed with: exit status 1

It was an internal problem in gitlab. 这是gitlab的内部问题。 The main problem got fixed after fixing all directory rights in the gitlab folder so apache could get write access on the necessary folders. 修复gitlab文件夹中的所有目录权限后,主要问题已解决,因此apache可以在必要的文件夹上获得写访问权限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM