手动将符号上传到Azure DevOps

发布于 2025-02-01 20:10:03 字数 295 浏览 3 评论 0 原文

我们正在以前提运行Azure Devops服务器。

我们为我们的项目使用git存储库和工件nuget feed。

目前,我们在没有管道的情况下手动进行构建(对于nugets),然后稍后上传nugets。

如果我们使用管道,“索引源和发布符号”任务将将符号放在文件共享中。

因此,我有两个问题:

有没有办法手动上传符号(例如,像我们一起使用Nugets一样通过CLI)?

任何文档的任何地方,文件共享的URL在前提服务器上的外观如何?到目前为止,我发现的所有例子只显示Dev.azure.com

We are running an Azure DevOps Server on premise.

We use the git repos and the artifacts nuget feed for our project.

Currently we do our builds (for the nugets) manually without the pipelines and upload the nugets later.

If we would use the pipelines the "Index sources and publish symbols" task would place the symbols to a file share.

So I have two questions:

Is there a way to upload the symbols manually (e.g. via CLI like we can with the nugets)?

Anywhere a documentation how the URL of the file share would look like on an on premise server? All examples I found so far only show dev.azure.com

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

梦忆晨望 2025-02-08 20:10:04

是否有一种方法可以手动上传符号(例如,通过nugets可以通过CLI进行CLI)?

答案是肯定的。

您可以使用以下命令同时同时使用PUSH主题软件包和符号软件包。 .nu​​pkg和.snupkg文件都需要在当前文件夹中存在:

nuget push MyPackage.nupkg -source

并发布到另一个符号存储库,或者推动不遵循命名约定的遗留符号软件包,请使用-source选项:

nuget push MyPackage.symbols.nupkg -source https://nuget.smbsrc.net/

请调查文档有关更多详细信息:

发布符号软件包

任何文档的任何地方文件共享的URL看起来像
在前提服务器上?

您可以检查文档索引来源&发布符号任务

”在此处输入图像说明”

Is there a way to upload the symbols manually (e.g. via CLI like we can with the nugets)?

The answer is yes.

You could use the push both primary and symbol packages at the same time using the below command. Both .nupkg and .snupkg files need to be present in the current folder:

nuget push MyPackage.nupkg -source

And publish to a different symbol repository, or to push a legacy symbol package that doesn't follow the naming convention, use the -Source option:

nuget push MyPackage.symbols.nupkg -source https://nuget.smbsrc.net/

Please refere the document for some more details:

Publishing a symbol package
Publishing a legacy symbol package

Anywhere a documentation how the URL of the file share would look like
on an on premise server?

You could check the document Index Sources & Publish Symbols task:

enter image description here

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