带有第一个 class nuget 支持的 artifactory jenkins 插件,例如 maven 包

artifactory jenkins plugin with first class nuget support like maven packages

看这里我有 Maven 的方法,但我找不到 nuget: https://www.jfrog.com/confluence/display/RTF/Working+With+Pipeline+Jobs+in+Jenkins

如何使用 jenkins 插件上传附加了 Nuget 信息的包?

看起来插件确实不支持 Nuget(plugin source on github). Nuget CLI reference is probably the next stop and then you'll want to figure out how to update the buildInfo with the package so the two objects can be linked together for management and cleanup. I don't know how to do that step yet but the REST interface. Also, theres a MSBUILD Artifactory plugin 这可能会使这更容易。

发布看起来像这样:

nuget push package -Source artifactoryRepoURL -ApiKey ArtifactoryAPIKey

在主页 artifactory 页面上,每个 repo 都有一个 Set Me Up link。

答案是您必须使用 jfrog cli 或插件的 upload() 方法来添加构建信息并进行保留。您不能使用常规 nuget 方法上传。