[英]gitlab-ci cannot upload golang built binary to nexus
I am trying to configure.gitlab-ci.yml for go application, however struggling to upload resulting binary to Nexus .我正在尝试为 go 应用程序配置 configure.gitlab-ci.yml,但是很难将生成的二进制文件上传到Nexus 。 I am using curl now, but it is failing
我现在正在使用curl ,但它失败了
curl: (22) The requested URL returned error: 400 Content type could not be determined
I found out what was wrong.我发现出了什么问题。 the problem was on NEXUS' side.
问题出在 NEXUS 方面。 In settings of nexus repository "allow rewrite" was unticked and again ticked, so it worked.
在 nexus 存储库的设置中,“允许重写”未被选中并再次被选中,所以它起作用了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.