diff --git a/jfrog-applications/jfrog-cli/cli-for-jfrog-artifactory/README.md b/jfrog-applications/jfrog-cli/cli-for-jfrog-artifactory/README.md index ccdfe7c..a59e9d8 100644 --- a/jfrog-applications/jfrog-cli/cli-for-jfrog-artifactory/README.md +++ b/jfrog-applications/jfrog-cli/cli-for-jfrog-artifactory/README.md @@ -2094,6 +2094,17 @@ jf dotnet restore --build-name=my-build-name --build-number=1 In addition, record the build-info as part of build **my-build-name/1**. The build-info can later be published to Artifactory using the [build-publish](https://docs.jfrog-applications.jfrog.io/jfrog-applications/jfrog-cli/cli-for-jfrog-artifactory#publishing-build-info) command. +##### Example 4 + +To incorporate both the build artifacts and the dependencies within the same module in the published build-info, utilize the --module option with the following commands: + +``` +jf rt dotnet build --module my-module-name --build-name=my-build-name --build-number=1 +jf rt u example.1.0.0.nupkg --module my-module-name --build-name=my-build-name --build-number=1 + +jf rt bp --build-name=my-build-name --build-number=1 +``` +Keep in mind that the resulting build will be published under a single module, and it's important to note that the module type will be generic. ### Packaging and Publishing Terraform Modules