Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package manager integration: Is dotnet nuget push command supported? #2881

Open
Sam13 opened this issue Feb 22, 2025 · 0 comments
Open

Package manager integration: Is dotnet nuget push command supported? #2881

Sam13 opened this issue Feb 22, 2025 · 0 comments
Labels
question Further information is requested

Comments

@Sam13
Copy link

Sam13 commented Feb 22, 2025

When pushing NuGet packages via the following command it seems that the published NuGet artifacts are not included in the build info.
The artifacts section of the specific module is missing.

jf dotnet nuget push MyPackage.1.2.3.nupkg --source https://artifactory.mycompany.com/artifactory/api/nuget/v3/my-feed --api-key [REDACTED] --skip-duplicate --build-name=my-build-name --build-number=1.2.3 --module=MyModule --project=my-project

Workaround is to push via Artifactory file upload command:

jf rt upload --build-name=my-build-name --build-number=1.2.3 --module=MyModule MyPackage.1.2.3.nupkg my-feed --server-id=my-server-id --project=my-project

This works but advanced NuGet push options (https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-push#options) such as --skip-duplicates cannot be used.

I'm using JFrog CLI v2.73.3

@Sam13 Sam13 added the question Further information is requested label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant