[英]How to collect build info in TFS using the Artifactory NuGet Restore task?
I'm able to restore packages without collecting build info perfectly fine. 我能够还原软件包,而不会完全收集构建信息。 However, when I tick the 'collect build info' box, I run into the following error: 但是,当我在“收集构建信息”框中打钩时,遇到以下错误:
[Error] Could not find nupkg file name for: ../[ProjectName]/[ProjectName].csp [错误]找不到以下文件的nupkg文件名:../ [ProjectName] / [ProjectName] .csp
Would there be some sort of guide for this? 为此会有某种指导吗?
This is regarding JFrog Artifactory integration with TFS. 这是关于JFrog Artifactory与TFS的集成。
This issue occurred since in the project.assets.json you had a reference to type project . 发生此问题的原因是,在project.assets.json中,您具有对project类型的引用。 We have released a new version of JFrog CLI (1.21.1) that skip dependencies of type project. 我们发布了新版本的JFrog CLI(1.21.1),该版本跳过了类型项目的依赖关系。 When using JFrog CLI with the build-name and build-number parameters to create the build info, JFrog CLI tries to scan your project for it's dependencies. 当使用带有build-name和build-number参数的JFrog CLI创建构建信息时,JFrog CLI尝试扫描项目中的依赖项。 When the dependency is written as type project in the project.assets.json , JFrog CLI cannot gather information regarding that dependency (such as sha1, md5 and dependency nupkg file). 当依赖项在project.assets.json中写为type project时,JFrog CLI无法收集有关该依赖项的信息(例如sha1,md5和依赖项nupkg文件)。 With the latest release, JFrog CLI does not fail but skips collecting information regarding that dependency. 在最新版本中,JFrog CLI不会失败,但是会跳过有关该依赖项的信息收集。
TFS is using behind the scene JFrog CLI. TFS在后台使用JFrog CLI。 With the upcoming release of TFS plugin, the latest version of the CLI will be included. 在即将发布的TFS插件版本中,将包括最新版本的CLI。 You can, however, update your agent with the latest JFrog CLI version that fixes this issue. 但是,您可以使用可解决此问题的最新JFrog CLI版本更新代理。 You can find more information of how to use your own version of JFrog CLI in our wiki page here 你可以找到如何在我们的wiki页面使用自己的JFrog CLI版本的详细信息在这里
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.