如何在gitlab nuget软件包上解析404网址?
我们正在使用:Gitlab Enterprise Edition 11.1.4-EE
在Gitlab文档上,它说:
nuget source Add -Name "GitLab" -Source "https://myprivateurl/api/v4/projects/myprojectid/packages/nuget/index.json" -UserName user -Password pass
我在项目上的作用是维护器。
我得到404,无论我尝试添加源还是打开该URL。也很奇怪的是,我看不到$ CI_API_V4_URL。
如果我打开:https:// myprivateurl/api/v4/projects/myprojectID,我可以看到项目信息。
我需要一些特别的许可吗?
我刚刚与管理员交谈,他也得到404 .....
We are using: GitLab Enterprise Edition 11.1.4-ee
On GitLab docs, it says:
nuget source Add -Name "GitLab" -Source "https://myprivateurl/api/v4/projects/myprojectid/packages/nuget/index.json" -UserName user -Password pass
My role on the project is maintainer.
I got 404, no matter if I try to add source or to open that URL. What is strange as well is that I don't see $CI_API_V4_URL.
If I open: https://myprivateurl/api/v4/projects/myprojectid I can see project info.
Do I need some special permission for this?
I just spoke to admin, and he is getting 404 as well.....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(1)
Nuget软件包注册表是在Gitlab 12.8中引入的,因此版本11.1不存在
The Nuget package registry was introduced in GitLab 12.8 so it won't be present in version 11.1