From 6e41311cafb618299a544faa0536ec38e1809f89 Mon Sep 17 00:00:00 2001 From: oshratz Date: Wed, 20 Nov 2024 10:58:56 +0200 Subject: [PATCH] Update release-lifecycle-management.md --- .../release-lifecycle-management.md | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/jfrog-applications/jfrog-cli/binaries-management-with-jfrog-artifactory/release-lifecycle-management.md b/jfrog-applications/jfrog-cli/binaries-management-with-jfrog-artifactory/release-lifecycle-management.md index 26fe248..b132cc7 100644 --- a/jfrog-applications/jfrog-cli/binaries-management-with-jfrog-artifactory/release-lifecycle-management.md +++ b/jfrog-applications/jfrog-cli/binaries-management-with-jfrog-artifactory/release-lifecycle-management.md @@ -98,16 +98,18 @@ The file spec may be of one of the following creation sources: |------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Command-name | release-bundle-create | | Abbreviation | rbc | -| **Command arguments:** | | +| **Command arguments:** | | | release bundle name | Name of the newly created Release Bundle. | | release bundle version | Version of the newly created Release Bundle. | -| **Command options:** | | -| `--project` |

[Optional]
Project key associated with the created Release Bundle version.

| -| `--server-id` |

[Optional]
Platform Server ID configured using the 'jf config' command.

| -| `--signing-key` |

[Mandatory]
The GPG/RSA key-pair name given in Artifactory.

| -| `--spec` |

[Optional]
Path to a File Spec.

| -| `--spec-vars` |

[Optional]
List of semicolon-separated(;) variables in the form of "key1=value1;key2=value2;..." (wrapped by quotes) to be replaced in the File Spec. In the File Spec, the variables should be used as follows: ${key1}.

| -| `--sync` |

[Default: false]
Set to true to run synchronously.

| | +| **Command options:** | | +| `--project` |

[Optional]
Project key associated with the created Release Bundle version.

| +| `--server-id` |

[Optional]
Platform Server ID configured using the 'jf config' command.

| +| `--signing-key` |

[Mandatory]
The GPG/RSA key-pair name given in Artifactory.

| +| `--spec` |

[Optional]
Path to a File Spec.

| +| `--build-name` |

[Optional]
Build name to create the bundle from./p> | | +| `--build-number` |

[Optional]
Build number to create the bundle from.

| | +| `--spec-vars` |

[Optional]
List of semicolon-separated(;) variables in the form of "key1=value1;key2=value2;..." (wrapped by quotes) to be replaced in the File Spec. In the File Spec, the variables should be used as follows: ${key1}.

| +| `--sync` |

[Default: false]
Set to true to run synchronously.

| | ### Examples #### Example 1 @@ -134,6 +136,14 @@ Create a release bundle using file spec variables. jf rbc --spec=/path/to/spec.json --spec-vars="key1=value1" --signing-key=myKeyPair myApp 1.0.0 ``` +#### Example 3 + +Create a release bundle using build name and number variables. + +``` +jf rbc --build-name=Common-builds --build-number=1.0.0 myApp 1.0.0 +``` + ## Promoting a release bundle This command allows promoting a release bundle to a target environment.