Skip to content

Commit 9243d9e

Browse files
Update CLI-for-JFrog-Lifecycle.md (#2140)
1 parent 976b32b commit 9243d9e

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed
Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# JFrog CLI : CLI for JFrog Release Lifecycle Management
1+
# JFrog CLI: CLI for JFrog Release Lifecycle Management
22

33
## Overview
44

@@ -13,12 +13,12 @@ Read more about JFrog CLI [here](https://jfrog.com/help/r/jfrog-cli).
1313

1414
### Commands
1515

16-
The following sections describe the commands available in JFrog CLI for use with the Release Lifecycle Management functionality.
16+
The following sections describe the commands available in JFrog CLI when performing Release Lifecycle Management operations on Release Bundles v2.
1717

18-
### Creating a release bundle from builds or from existing release bundles
18+
### Creating a Release Bundle v2 from builds or from existing Release Bundles
1919

20-
This command allows creating a release bundle from a published build-info or an existing release bundle.
21-
1. To create a release bundle from published build-infos, provide the `--builds` option, which accepts a path to a file, with the following JSON format:
20+
This command creates a Release Bundle v2 from a published build-info or from an existing Release Bundle.
21+
1. To create a Release Bundle from published build-infos, provide the `--builds` option, which accepts a path to a file using the following JSON format:
2222
```json
2323
{
2424
"builds": [
@@ -30,11 +30,11 @@ This command allows creating a release bundle from a published build-info or an
3030
]
3131
}
3232
```
33-
`number` is optional, latest build will be used if empty.
33+
`number` is optional (if left empty, the latest build will be used)
3434

35-
`project` is optional, default project will be used if empty.
35+
`project` is optional (if left empty, the default project will be used)
3636

37-
2. To create a release bundle from existing release bundles, provide the `--release-bundles` option, which accepts a path to a file, with the following JSON format:
37+
2. To create a Release Bundle v2 from existing Release Bundles, provide the `--release-bundles` option, which accepts a path to a file using the following JSON format:
3838
```json
3939
{
4040
"releaseBundles": [
@@ -46,16 +46,16 @@ This command allows creating a release bundle from a published build-info or an
4646
]
4747
}
4848
```
49-
`project` is optional, default project will be used if empty.
49+
`project` is optional (if left empty, the default project will be used)
5050

5151
| | |
5252
|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
5353
| Command-name | release-bundle-create |
5454
| Abbreviation | rbc |
5555
| Command options | |
56-
| --builds | \[Optional\]<br><br>Path to a JSON file containing information about source builds from which to create a release bundle. |
56+
| --builds | \[Optional\]<br><br>Path to a JSON file containing information about the source builds from which to create a Release Bundle. |
5757
| --project | \[Optional\]<br><br>JFrog Project key associated with the Release Bundle version. |
58-
| --release-bundles | \[Optional\]<br><br>Path to a JSON file containing information about source release bundles from which to create a release bundle. |
58+
| --release-bundles | \[Optional\]<br><br>Path to a JSON file containing information about the source Release Bundles from which to create a Release Bundle. |
5959
| --server-id | \[Optional\]<br><br>Platform server ID configured using the `jf c add` command. |
6060
| --signing-key | \[Mandatory\]<br><br>The GPG/RSA key-pair name given in Artifactory. |
6161
| --sync | \[Default: false\]<br><br>Set to true to run synchronously. |
@@ -67,35 +67,35 @@ This command allows creating a release bundle from a published build-info or an
6767

6868
##### Example 1
6969

70-
Create a release bundle with name "myApp" and version "1.0.0", with signing key pair "myKeyPair".
71-
The release bundle will include artifacts of the builds that were provided in the builds spec.
70+
Create a Release Bundle v2 with the name "myApp" and version "1.0.0", with signing key pair "myKeyPair".
71+
The Release Bundle will include the artifacts of the builds that were provided in the builds spec.
7272
```
7373
jf rbc --builds=/path/to/builds-spec.json --signing-key=myKeyPair myApp 1.0.0
7474
```
7575
##### Example 2
7676
77-
Create a release bundle with name "myApp" and version "1.0.0", with signing key pair "myKeyPair".
78-
The release bundle will include artifacts of the release bundles that were provided in the release bundles spec.
77+
Create a Release Bundle v2 with the name "myApp" and version "1.0.0", with signing key pair "myKeyPair".
78+
The Release Bundle will include the artifacts of the Release Bundles that were provided in the Release Bundles spec.
7979
```
8080
jf rbc --spec=/path/to/release-bundles-spec.json --signing-key=myKeyPair myApp 1.0.0
8181
```
8282
##### Example 3
8383
84-
Create a release bundle synchronously with name "myApp" and version "1.0.0", in project "project0", with signing key pair "myKeyPair".
85-
The release bundle will include artifacts of the release bundles that were provided in the release bundles spec.
84+
Create a Release Bundle v2 synchronously with the name "myApp" and version "1.0.0", in project "project0", with signing key pair "myKeyPair".
85+
The Release Bundle will include the artifacts of the Release Bundles that were provided in the Release Bundles spec.
8686
```
8787
jf rbc --spec=/path/to/release-bundles-spec.json --signing-key=myKeyPair --sync=true --project=project0 myApp 1.0.0
8888
```
89-
### Promoting a release bundle
89+
### Promoting a Release Bundle v2
9090
91-
This commands allows promoting a release bundle to a target environment.
91+
This command promotes a Release Bundle v2 to a target environment.
9292
9393
| | |
9494
|------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
9595
| Command-name | release-bundle-promote |
9696
| Abbreviation | rbp |
9797
| Command options | |
98-
| --overwrite | \[Default: false\]<br><br>Set to true to replace artifacts with the same name but a different checksum if such already exist at the promotion targets. By default, the promotion is stopped in a case of such conflict |
98+
| --overwrite | \[Default: false\]<br><br>Set to true to replace artifacts with the same name but a different checksum, if such already exist at the promotion targets. By default, the promotion is stopped when a conflict occurs.|
9999
| --project | \[Optional\]<br><br>Project key associated with the Release Bundle version. |
100100
| --server-id | \[Optional\]<br><br>Platform server ID configured using the config command. |
101101
| --signing-key | \[Mandatory\]<br><br>The GPG/RSA key-pair name given in Artifactory. |
@@ -108,16 +108,16 @@ This commands allows promoting a release bundle to a target environment.
108108
#### Examples
109109
##### Example 1
110110
111-
Promote a release bundle named "myApp" version "1.0.0" to environment "PROD".
111+
Promote a Release Bundle v2 named "myApp" version "1.0.0" to environment "PROD".
112112
Use signing key pair "myKeyPair".
113113
```
114114
jf rbp --signing-key=myKeyPair myApp 1.0.0 PROD
115115
```
116116
##### Example 2
117117
118-
Promote a release bundle synchronously to environment "PROD".
119-
The release bundle is named "myApp", version "1.0.0", of project "project0".
120-
Use signing key pair "myKeyPair" and overwrite at conflict.
118+
Promote a Release Bundle v2 synchronously to environment "PROD".
119+
The Release Bundle is named "myApp", version "1.0.0", of project "project0".
120+
Use signing key pair "myKeyPair" and overwrite in case of conflicts.
121121
```
122122
jf rbp --signing-key=myKeyPair --project=project0 --overwrite=true --sync=true myApp 1.0.0 PROD
123-
```
123+
```

0 commit comments

Comments
 (0)