Skip to content

JF CLI SUPPORT IN THE KF DOTNET NUGET PUSH COMMANF #2951

Open
@ronman194

Description

@ronman194

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 --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."

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions