jfrog-cli icon indicating copy to clipboard operation
jfrog-cli copied to clipboard

JF CLI SUPPORT IN THE KF DOTNET NUGET PUSH COMMANF

Open ronman194 opened this issue 9 months ago • 0 comments

Is your feature request related to a problem? Please describe.

Currently, the jf dotnet nuget push command does not support the ability to publish both artifacts and dependencies within the same module automatically.

Describe the solution you'd like to see

Enhance the jf dotnet nuget push command to support the automatic publishing of both artifacts and dependencies within the same module. This will streamline the process, eliminating the need for additional manual steps or separate commands to handle artifacts and dependencies.

What is the expected behavior? When executing the following steps:

  1. jf dotnet restore --build-name=<BUILD_NAME> --build-number=<BUILD_NUMBER>

  2. dotnet build

  3. dotnet pack

  4. jf dotnet nuget push <nugetPACKAGE> --source <SOURCE> --api-key <API_KEY> --build-name=<BUILD_NAME> --build-number=<BUILD_NUMBER> --module=<MODULE_NAME>

  5. jf rt bp <BUILD_NAME> <BUILD_NUMBER>

The jf dotnet nuget push command should automatically publish both the artifacts and their dependencies within the same module.

** It would be nice if the jf dotnet nuget push command could also retrieve the relevant information from the environment variables "JFROG_CLI_BUILD_NAME," "JFROG_CLI_BUILD_NUMBER," and "JFROG_CLI_BUILD_URL."

ronman194 avatar Apr 10 '25 13:04 ronman194