如何在gitlab nuget软件包上解析404网址?

发布于 2025-02-10 06:57:04 字数 504 浏览 2 评论 0原文

我们正在使用: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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

滿滿的愛 2025-02-17 06:57:04

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文