@salesforce/plugin-devops-center 2.3.8 → 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -31
- package/oclif.manifest.json +65 -65
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -161,7 +161,7 @@ EXAMPLES
|
|
|
161
161
|
https://github.com/myorg/myrepo --project-id 0Hn000000000001 --project-id 0Hn000000000002
|
|
162
162
|
```
|
|
163
163
|
|
|
164
|
-
_See code: [src/commands/devops/pipeline/create.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
164
|
+
_See code: [src/commands/devops/pipeline/create.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/pipeline/create.ts)_
|
|
165
165
|
|
|
166
166
|
## `sf devops pipeline get`
|
|
167
167
|
|
|
@@ -193,7 +193,7 @@ EXAMPLES
|
|
|
193
193
|
$ sf devops pipeline get --target-org my-devops-org --pipeline-id 0Do000000000001
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
-
_See code: [src/commands/devops/pipeline/get.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
196
|
+
_See code: [src/commands/devops/pipeline/get.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/pipeline/get.ts)_
|
|
197
197
|
|
|
198
198
|
## `sf devops pipeline list`
|
|
199
199
|
|
|
@@ -224,7 +224,7 @@ EXAMPLES
|
|
|
224
224
|
$ sf devops pipeline list --target-org my-devops-org
|
|
225
225
|
```
|
|
226
226
|
|
|
227
|
-
_See code: [src/commands/devops/pipeline/list.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
227
|
+
_See code: [src/commands/devops/pipeline/list.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/pipeline/list.ts)_
|
|
228
228
|
|
|
229
229
|
## `sf devops pipeline project add`
|
|
230
230
|
|
|
@@ -258,7 +258,7 @@ EXAMPLES
|
|
|
258
258
|
0Hn000000000001
|
|
259
259
|
```
|
|
260
260
|
|
|
261
|
-
_See code: [src/commands/devops/pipeline/project/add.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
261
|
+
_See code: [src/commands/devops/pipeline/project/add.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/pipeline/project/add.ts)_
|
|
262
262
|
|
|
263
263
|
## `sf devops pipeline project delete`
|
|
264
264
|
|
|
@@ -292,7 +292,7 @@ EXAMPLES
|
|
|
292
292
|
0Hn000000000001
|
|
293
293
|
```
|
|
294
294
|
|
|
295
|
-
_See code: [src/commands/devops/pipeline/project/delete.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
295
|
+
_See code: [src/commands/devops/pipeline/project/delete.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/pipeline/project/delete.ts)_
|
|
296
296
|
|
|
297
297
|
## `sf devops pipeline stage add`
|
|
298
298
|
|
|
@@ -333,7 +333,7 @@ EXAMPLES
|
|
|
333
333
|
--next-stage-id 0Xc000000000003
|
|
334
334
|
```
|
|
335
335
|
|
|
336
|
-
_See code: [src/commands/devops/pipeline/stage/add.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
336
|
+
_See code: [src/commands/devops/pipeline/stage/add.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/pipeline/stage/add.ts)_
|
|
337
337
|
|
|
338
338
|
## `sf devops pipeline stage delete`
|
|
339
339
|
|
|
@@ -368,7 +368,7 @@ EXAMPLES
|
|
|
368
368
|
0Xc000000000002
|
|
369
369
|
```
|
|
370
370
|
|
|
371
|
-
_See code: [src/commands/devops/pipeline/stage/delete.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
371
|
+
_See code: [src/commands/devops/pipeline/stage/delete.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/pipeline/stage/delete.ts)_
|
|
372
372
|
|
|
373
373
|
## `sf devops pipeline stage update`
|
|
374
374
|
|
|
@@ -401,7 +401,7 @@ EXAMPLES
|
|
|
401
401
|
$ sf devops pipeline stage update --target-org my-devops-org --stage-id 1QV000000000001 --name "Integration"
|
|
402
402
|
```
|
|
403
403
|
|
|
404
|
-
_See code: [src/commands/devops/pipeline/stage/update.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
404
|
+
_See code: [src/commands/devops/pipeline/stage/update.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/pipeline/stage/update.ts)_
|
|
405
405
|
|
|
406
406
|
## `sf devops pipeline update`
|
|
407
407
|
|
|
@@ -445,7 +445,7 @@ EXAMPLES
|
|
|
445
445
|
Pipeline"
|
|
446
446
|
```
|
|
447
447
|
|
|
448
|
-
_See code: [src/commands/devops/pipeline/update.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
448
|
+
_See code: [src/commands/devops/pipeline/update.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/pipeline/update.ts)_
|
|
449
449
|
|
|
450
450
|
## `sf devops project create`
|
|
451
451
|
|
|
@@ -482,7 +482,7 @@ EXAMPLES
|
|
|
482
482
|
update"
|
|
483
483
|
```
|
|
484
484
|
|
|
485
|
-
_See code: [src/commands/devops/project/create.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
485
|
+
_See code: [src/commands/devops/project/create.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/project/create.ts)_
|
|
486
486
|
|
|
487
487
|
## `sf devops project list`
|
|
488
488
|
|
|
@@ -517,7 +517,7 @@ EXAMPLES
|
|
|
517
517
|
$ sf devops project list --target-org devops-center@example.com
|
|
518
518
|
```
|
|
519
519
|
|
|
520
|
-
_See code: [src/commands/devops/project/list.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
520
|
+
_See code: [src/commands/devops/project/list.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/project/list.ts)_
|
|
521
521
|
|
|
522
522
|
## `sf devops project update`
|
|
523
523
|
|
|
@@ -567,7 +567,7 @@ EXAMPLES
|
|
|
567
567
|
--description "Archived" --no-is-active
|
|
568
568
|
```
|
|
569
569
|
|
|
570
|
-
_See code: [src/commands/devops/project/update.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
570
|
+
_See code: [src/commands/devops/project/update.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/project/update.ts)_
|
|
571
571
|
|
|
572
572
|
## `sf devops promote`
|
|
573
573
|
|
|
@@ -669,7 +669,7 @@ FLAG DESCRIPTIONS
|
|
|
669
669
|
spaces.
|
|
670
670
|
```
|
|
671
671
|
|
|
672
|
-
_See code: [src/commands/devops/promote.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
672
|
+
_See code: [src/commands/devops/promote.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/promote.ts)_
|
|
673
673
|
|
|
674
674
|
## `sf devops promotion complete`
|
|
675
675
|
|
|
@@ -752,7 +752,7 @@ FLAG DESCRIPTIONS
|
|
|
752
752
|
spaces.
|
|
753
753
|
```
|
|
754
754
|
|
|
755
|
-
_See code: [src/commands/devops/promotion/complete.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
755
|
+
_See code: [src/commands/devops/promotion/complete.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/promotion/complete.ts)_
|
|
756
756
|
|
|
757
757
|
## `sf devops promotion validate`
|
|
758
758
|
|
|
@@ -793,7 +793,7 @@ EXAMPLES
|
|
|
793
793
|
1fk000000000001 --work-item-id 1fk000000000002
|
|
794
794
|
```
|
|
795
795
|
|
|
796
|
-
_See code: [src/commands/devops/promotion/validate.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
796
|
+
_See code: [src/commands/devops/promotion/validate.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/promotion/validate.ts)_
|
|
797
797
|
|
|
798
798
|
## `sf devops request status`
|
|
799
799
|
|
|
@@ -824,7 +824,7 @@ EXAMPLES
|
|
|
824
824
|
$ sf devops request status --target-org my-devops-org --request-token a0B000000000001
|
|
825
825
|
```
|
|
826
826
|
|
|
827
|
-
_See code: [src/commands/devops/request/status.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
827
|
+
_See code: [src/commands/devops/request/status.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/request/status.ts)_
|
|
828
828
|
|
|
829
829
|
## `sf devops review create`
|
|
830
830
|
|
|
@@ -861,7 +861,7 @@ EXAMPLES
|
|
|
861
861
|
$ sf devops review create --target-org my-devops-org --work-item-id 0Wx000000000001
|
|
862
862
|
```
|
|
863
863
|
|
|
864
|
-
_See code: [src/commands/devops/review/create.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
864
|
+
_See code: [src/commands/devops/review/create.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/review/create.ts)_
|
|
865
865
|
|
|
866
866
|
## `sf devops stage branch add`
|
|
867
867
|
|
|
@@ -907,7 +907,7 @@ EXAMPLES
|
|
|
907
907
|
--branch-name integration --create-vcs-branch
|
|
908
908
|
```
|
|
909
909
|
|
|
910
|
-
_See code: [src/commands/devops/stage/branch/add.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
910
|
+
_See code: [src/commands/devops/stage/branch/add.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/stage/branch/add.ts)_
|
|
911
911
|
|
|
912
912
|
## `sf devops stage branch delete`
|
|
913
913
|
|
|
@@ -945,7 +945,7 @@ EXAMPLES
|
|
|
945
945
|
0Xp000000000001
|
|
946
946
|
```
|
|
947
947
|
|
|
948
|
-
_See code: [src/commands/devops/stage/branch/delete.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
948
|
+
_See code: [src/commands/devops/stage/branch/delete.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/stage/branch/delete.ts)_
|
|
949
949
|
|
|
950
950
|
## `sf devops stage environment add`
|
|
951
951
|
|
|
@@ -989,7 +989,7 @@ EXAMPLES
|
|
|
989
989
|
Production_Org --org-type Production
|
|
990
990
|
```
|
|
991
991
|
|
|
992
|
-
_See code: [src/commands/devops/stage/environment/add.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
992
|
+
_See code: [src/commands/devops/stage/environment/add.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/stage/environment/add.ts)_
|
|
993
993
|
|
|
994
994
|
## `sf devops stage environment delete`
|
|
995
995
|
|
|
@@ -1023,7 +1023,7 @@ EXAMPLES
|
|
|
1023
1023
|
0Xe000000000001
|
|
1024
1024
|
```
|
|
1025
1025
|
|
|
1026
|
-
_See code: [src/commands/devops/stage/environment/delete.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1026
|
+
_See code: [src/commands/devops/stage/environment/delete.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/stage/environment/delete.ts)_
|
|
1027
1027
|
|
|
1028
1028
|
## `sf devops work-item combine`
|
|
1029
1029
|
|
|
@@ -1072,7 +1072,7 @@ FLAG DESCRIPTIONS
|
|
|
1072
1072
|
are merged into the parent's branch during promotion.
|
|
1073
1073
|
```
|
|
1074
1074
|
|
|
1075
|
-
_See code: [src/commands/devops/work-item/combine.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1075
|
+
_See code: [src/commands/devops/work-item/combine.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/work-item/combine.ts)_
|
|
1076
1076
|
|
|
1077
1077
|
## `sf devops work-item create`
|
|
1078
1078
|
|
|
@@ -1113,7 +1113,7 @@ EXAMPLES
|
|
|
1113
1113
|
--description "Implement dark mode toggle in settings page"
|
|
1114
1114
|
```
|
|
1115
1115
|
|
|
1116
|
-
_See code: [src/commands/devops/work-item/create.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1116
|
+
_See code: [src/commands/devops/work-item/create.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/work-item/create.ts)_
|
|
1117
1117
|
|
|
1118
1118
|
## `sf devops work-item list`
|
|
1119
1119
|
|
|
@@ -1149,7 +1149,7 @@ EXAMPLES
|
|
|
1149
1149
|
$ sf devops work-item list --target-org my-devops-org --project-id 1Qg000000000001 --json
|
|
1150
1150
|
```
|
|
1151
1151
|
|
|
1152
|
-
_See code: [src/commands/devops/work-item/list.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1152
|
+
_See code: [src/commands/devops/work-item/list.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/work-item/list.ts)_
|
|
1153
1153
|
|
|
1154
1154
|
## `sf devops work-item prepare`
|
|
1155
1155
|
|
|
@@ -1190,7 +1190,7 @@ EXAMPLES
|
|
|
1190
1190
|
--target-stage-id 05S000000000002
|
|
1191
1191
|
```
|
|
1192
1192
|
|
|
1193
|
-
_See code: [src/commands/devops/work-item/prepare.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1193
|
+
_See code: [src/commands/devops/work-item/prepare.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/work-item/prepare.ts)_
|
|
1194
1194
|
|
|
1195
1195
|
## `sf devops work-item update`
|
|
1196
1196
|
|
|
@@ -1237,7 +1237,7 @@ EXAMPLES
|
|
|
1237
1237
|
--description "Users can't log in on mobile" --status "In Progress"
|
|
1238
1238
|
```
|
|
1239
1239
|
|
|
1240
|
-
_See code: [src/commands/devops/work-item/update.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1240
|
+
_See code: [src/commands/devops/work-item/update.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/devops/work-item/update.ts)_
|
|
1241
1241
|
|
|
1242
1242
|
## `sf project deploy pipeline quick`
|
|
1243
1243
|
|
|
@@ -1311,7 +1311,7 @@ FLAG DESCRIPTIONS
|
|
|
1311
1311
|
"sf project deploy pipeline report".
|
|
1312
1312
|
```
|
|
1313
1313
|
|
|
1314
|
-
_See code: [src/commands/project/deploy/pipeline/quick.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1314
|
+
_See code: [src/commands/project/deploy/pipeline/quick.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/project/deploy/pipeline/quick.ts)_
|
|
1315
1315
|
|
|
1316
1316
|
## `sf project deploy pipeline report`
|
|
1317
1317
|
|
|
@@ -1359,7 +1359,7 @@ FLAG DESCRIPTIONS
|
|
|
1359
1359
|
your most recent operation was longer than 3 days ago, this flag won't find the job ID.
|
|
1360
1360
|
```
|
|
1361
1361
|
|
|
1362
|
-
_See code: [src/commands/project/deploy/pipeline/report.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1362
|
+
_See code: [src/commands/project/deploy/pipeline/report.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/project/deploy/pipeline/report.ts)_
|
|
1363
1363
|
|
|
1364
1364
|
## `sf project deploy pipeline resume`
|
|
1365
1365
|
|
|
@@ -1426,7 +1426,7 @@ FLAG DESCRIPTIONS
|
|
|
1426
1426
|
returns the job ID. To check the status of the operation, run "sf project deploy pipeline report".
|
|
1427
1427
|
```
|
|
1428
1428
|
|
|
1429
|
-
_See code: [src/commands/project/deploy/pipeline/resume.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1429
|
+
_See code: [src/commands/project/deploy/pipeline/resume.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/project/deploy/pipeline/resume.ts)_
|
|
1430
1430
|
|
|
1431
1431
|
## `sf project deploy pipeline start`
|
|
1432
1432
|
|
|
@@ -1526,7 +1526,7 @@ FLAG DESCRIPTIONS
|
|
|
1526
1526
|
"sf project deploy pipeline report".
|
|
1527
1527
|
```
|
|
1528
1528
|
|
|
1529
|
-
_See code: [src/commands/project/deploy/pipeline/start.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1529
|
+
_See code: [src/commands/project/deploy/pipeline/start.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/project/deploy/pipeline/start.ts)_
|
|
1530
1530
|
|
|
1531
1531
|
## `sf project deploy pipeline validate`
|
|
1532
1532
|
|
|
@@ -1626,7 +1626,7 @@ FLAG DESCRIPTIONS
|
|
|
1626
1626
|
"sf project deploy pipeline report".
|
|
1627
1627
|
```
|
|
1628
1628
|
|
|
1629
|
-
_See code: [src/commands/project/deploy/pipeline/validate.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.
|
|
1629
|
+
_See code: [src/commands/project/deploy/pipeline/validate.ts](https://github.com/salesforcecli/plugin-devops-center/blob/2.3.9/src/commands/project/deploy/pipeline/validate.ts)_
|
|
1630
1630
|
|
|
1631
1631
|
<!-- commandsstop -->
|
|
1632
1632
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1872,12 +1872,13 @@
|
|
|
1872
1872
|
"update.js"
|
|
1873
1873
|
]
|
|
1874
1874
|
},
|
|
1875
|
-
"devops:stage:
|
|
1875
|
+
"devops:stage:branch:add": {
|
|
1876
1876
|
"aliases": [],
|
|
1877
1877
|
"args": {},
|
|
1878
|
-
"description": "
|
|
1878
|
+
"description": "By default, the branch must exist in the repository. Use --create-vcs-branch to create a branch if it doesn't exist.\nEach pipeline stage supports only one branch. If the stage already has a branch, the command blocks so the existing branch isn't orphaned; pass --force to replace it.",
|
|
1879
1879
|
"examples": [
|
|
1880
|
-
"Add
|
|
1880
|
+
"Add an existing branch to a stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000001 --branch-name main",
|
|
1881
|
+
"Create and add a branch to a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000002 --branch-name integration --create-vcs-branch"
|
|
1881
1882
|
],
|
|
1882
1883
|
"flags": {
|
|
1883
1884
|
"json": {
|
|
@@ -1923,53 +1924,41 @@
|
|
|
1923
1924
|
"stage-id": {
|
|
1924
1925
|
"name": "stage-id",
|
|
1925
1926
|
"required": true,
|
|
1926
|
-
"summary": "ID of the pipeline stage.",
|
|
1927
|
-
"hasDynamicHelp": false,
|
|
1928
|
-
"multiple": false,
|
|
1929
|
-
"type": "option"
|
|
1930
|
-
},
|
|
1931
|
-
"environment-name": {
|
|
1932
|
-
"char": "e",
|
|
1933
|
-
"name": "environment-name",
|
|
1934
|
-
"required": true,
|
|
1935
|
-
"summary": "Name of the environment.",
|
|
1927
|
+
"summary": "ID of the pipeline stage to associate the branch with.",
|
|
1936
1928
|
"hasDynamicHelp": false,
|
|
1937
1929
|
"multiple": false,
|
|
1938
1930
|
"type": "option"
|
|
1939
1931
|
},
|
|
1940
|
-
"
|
|
1941
|
-
"
|
|
1932
|
+
"branch-name": {
|
|
1933
|
+
"char": "b",
|
|
1934
|
+
"name": "branch-name",
|
|
1942
1935
|
"required": true,
|
|
1943
|
-
"summary": "
|
|
1936
|
+
"summary": "Name of the repository branch to assign to the stage.",
|
|
1944
1937
|
"hasDynamicHelp": false,
|
|
1945
1938
|
"multiple": false,
|
|
1946
|
-
"options": [
|
|
1947
|
-
"Production",
|
|
1948
|
-
"Sandbox"
|
|
1949
|
-
],
|
|
1950
1939
|
"type": "option"
|
|
1951
1940
|
},
|
|
1952
|
-
"
|
|
1953
|
-
"name": "
|
|
1954
|
-
"summary": "
|
|
1941
|
+
"create-vcs-branch": {
|
|
1942
|
+
"name": "create-vcs-branch",
|
|
1943
|
+
"summary": "Create the branch in the remote repository if it doesn't already exist.",
|
|
1955
1944
|
"allowNo": false,
|
|
1956
1945
|
"type": "boolean"
|
|
1957
1946
|
},
|
|
1958
1947
|
"force": {
|
|
1959
1948
|
"name": "force",
|
|
1960
|
-
"summary": "Replace the stage's existing
|
|
1949
|
+
"summary": "Replace the stage's existing branch. By default, the command blocks if the stage already has a branch to avoid orphaning it. With this flag, the new branch is associated and the previous branch record is removed if no other stage references it.",
|
|
1961
1950
|
"allowNo": false,
|
|
1962
1951
|
"type": "boolean"
|
|
1963
1952
|
}
|
|
1964
1953
|
},
|
|
1965
1954
|
"hasDynamicHelp": true,
|
|
1966
1955
|
"hiddenAliases": [],
|
|
1967
|
-
"id": "devops:stage:
|
|
1956
|
+
"id": "devops:stage:branch:add",
|
|
1968
1957
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
1969
1958
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
1970
1959
|
"pluginType": "core",
|
|
1971
1960
|
"strict": true,
|
|
1972
|
-
"summary": "Add a
|
|
1961
|
+
"summary": "Add a source code repository branch to a pipeline stage.",
|
|
1973
1962
|
"enableJsonFlag": true,
|
|
1974
1963
|
"isESM": true,
|
|
1975
1964
|
"relativePath": [
|
|
@@ -1977,16 +1966,16 @@
|
|
|
1977
1966
|
"commands",
|
|
1978
1967
|
"devops",
|
|
1979
1968
|
"stage",
|
|
1980
|
-
"
|
|
1969
|
+
"branch",
|
|
1981
1970
|
"add.js"
|
|
1982
1971
|
]
|
|
1983
1972
|
},
|
|
1984
|
-
"devops:stage:
|
|
1973
|
+
"devops:stage:branch:delete": {
|
|
1985
1974
|
"aliases": [],
|
|
1986
1975
|
"args": {},
|
|
1987
|
-
"description": "Removes the specified
|
|
1976
|
+
"description": "Removes the branch linked to the specified pipeline stage. Because branches are configured from right to left (a stage can have a branch only after the stage to its right does), removing a branch also removes the branches from all upstream stages (to the left) in the pipeline, keeping it in a valid state. The branch records in the repository are not deleted; only their association with the stages is removed. The stage must belong to an inactive pipeline.",
|
|
1988
1977
|
"examples": [
|
|
1989
|
-
"Delete
|
|
1978
|
+
"Delete the branch associated with a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000001"
|
|
1990
1979
|
],
|
|
1991
1980
|
"flags": {
|
|
1992
1981
|
"json": {
|
|
@@ -2024,16 +2013,15 @@
|
|
|
2024
2013
|
"pipeline-id": {
|
|
2025
2014
|
"name": "pipeline-id",
|
|
2026
2015
|
"required": true,
|
|
2027
|
-
"summary": "ID of the pipeline. Used to verify the pipeline is inactive before deleting.",
|
|
2016
|
+
"summary": "ID of the pipeline that contains the stage. Used to verify the pipeline is inactive before deleting.",
|
|
2028
2017
|
"hasDynamicHelp": false,
|
|
2029
2018
|
"multiple": false,
|
|
2030
2019
|
"type": "option"
|
|
2031
2020
|
},
|
|
2032
|
-
"
|
|
2033
|
-
"
|
|
2034
|
-
"name": "environment-id",
|
|
2021
|
+
"stage-id": {
|
|
2022
|
+
"name": "stage-id",
|
|
2035
2023
|
"required": true,
|
|
2036
|
-
"summary": "ID of the
|
|
2024
|
+
"summary": "ID of the pipeline stage whose branch you want to delete.",
|
|
2037
2025
|
"hasDynamicHelp": false,
|
|
2038
2026
|
"multiple": false,
|
|
2039
2027
|
"type": "option"
|
|
@@ -2041,12 +2029,12 @@
|
|
|
2041
2029
|
},
|
|
2042
2030
|
"hasDynamicHelp": true,
|
|
2043
2031
|
"hiddenAliases": [],
|
|
2044
|
-
"id": "devops:stage:
|
|
2032
|
+
"id": "devops:stage:branch:delete",
|
|
2045
2033
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2046
2034
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
2047
2035
|
"pluginType": "core",
|
|
2048
2036
|
"strict": true,
|
|
2049
|
-
"summary": "Delete
|
|
2037
|
+
"summary": "Delete the source code repository branch associated with a pipeline stage.",
|
|
2050
2038
|
"enableJsonFlag": true,
|
|
2051
2039
|
"isESM": true,
|
|
2052
2040
|
"relativePath": [
|
|
@@ -2054,17 +2042,16 @@
|
|
|
2054
2042
|
"commands",
|
|
2055
2043
|
"devops",
|
|
2056
2044
|
"stage",
|
|
2057
|
-
"
|
|
2045
|
+
"branch",
|
|
2058
2046
|
"delete.js"
|
|
2059
2047
|
]
|
|
2060
2048
|
},
|
|
2061
|
-
"devops:stage:
|
|
2049
|
+
"devops:stage:environment:add": {
|
|
2062
2050
|
"aliases": [],
|
|
2063
2051
|
"args": {},
|
|
2064
|
-
"description": "
|
|
2052
|
+
"description": "This command triggers an OAuth flow to authenticate the environment. A browser window opens automatically for you to log in.",
|
|
2065
2053
|
"examples": [
|
|
2066
|
-
"Add
|
|
2067
|
-
"Create and add a branch to a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000002 --branch-name integration --create-vcs-branch"
|
|
2054
|
+
"Add a production environment to a stage using its ID:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --stage-id 0Xp000000000001 --environment-name Production_Org --org-type Production"
|
|
2068
2055
|
],
|
|
2069
2056
|
"flags": {
|
|
2070
2057
|
"json": {
|
|
@@ -2110,41 +2097,53 @@
|
|
|
2110
2097
|
"stage-id": {
|
|
2111
2098
|
"name": "stage-id",
|
|
2112
2099
|
"required": true,
|
|
2113
|
-
"summary": "ID of the pipeline stage
|
|
2100
|
+
"summary": "ID of the pipeline stage.",
|
|
2114
2101
|
"hasDynamicHelp": false,
|
|
2115
2102
|
"multiple": false,
|
|
2116
2103
|
"type": "option"
|
|
2117
2104
|
},
|
|
2118
|
-
"
|
|
2119
|
-
"char": "
|
|
2120
|
-
"name": "
|
|
2105
|
+
"environment-name": {
|
|
2106
|
+
"char": "e",
|
|
2107
|
+
"name": "environment-name",
|
|
2121
2108
|
"required": true,
|
|
2122
|
-
"summary": "Name of the
|
|
2109
|
+
"summary": "Name of the environment.",
|
|
2123
2110
|
"hasDynamicHelp": false,
|
|
2124
2111
|
"multiple": false,
|
|
2125
2112
|
"type": "option"
|
|
2126
2113
|
},
|
|
2127
|
-
"
|
|
2128
|
-
"name": "
|
|
2129
|
-
"
|
|
2114
|
+
"org-type": {
|
|
2115
|
+
"name": "org-type",
|
|
2116
|
+
"required": true,
|
|
2117
|
+
"summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
|
|
2118
|
+
"hasDynamicHelp": false,
|
|
2119
|
+
"multiple": false,
|
|
2120
|
+
"options": [
|
|
2121
|
+
"Production",
|
|
2122
|
+
"Sandbox"
|
|
2123
|
+
],
|
|
2124
|
+
"type": "option"
|
|
2125
|
+
},
|
|
2126
|
+
"no-browser": {
|
|
2127
|
+
"name": "no-browser",
|
|
2128
|
+
"summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
|
|
2130
2129
|
"allowNo": false,
|
|
2131
2130
|
"type": "boolean"
|
|
2132
2131
|
},
|
|
2133
2132
|
"force": {
|
|
2134
2133
|
"name": "force",
|
|
2135
|
-
"summary": "Replace the stage's existing
|
|
2134
|
+
"summary": "Replace the stage's existing environment. By default, the command blocks if the stage already has an environment to avoid orphaning it. With this flag, the new environment is added first and the previous one is removed only after the new environment is associated successfully.",
|
|
2136
2135
|
"allowNo": false,
|
|
2137
2136
|
"type": "boolean"
|
|
2138
2137
|
}
|
|
2139
2138
|
},
|
|
2140
2139
|
"hasDynamicHelp": true,
|
|
2141
2140
|
"hiddenAliases": [],
|
|
2142
|
-
"id": "devops:stage:
|
|
2141
|
+
"id": "devops:stage:environment:add",
|
|
2143
2142
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2144
2143
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
2145
2144
|
"pluginType": "core",
|
|
2146
2145
|
"strict": true,
|
|
2147
|
-
"summary": "Add a
|
|
2146
|
+
"summary": "Add a Salesforce environment to a pipeline stage.",
|
|
2148
2147
|
"enableJsonFlag": true,
|
|
2149
2148
|
"isESM": true,
|
|
2150
2149
|
"relativePath": [
|
|
@@ -2152,16 +2151,16 @@
|
|
|
2152
2151
|
"commands",
|
|
2153
2152
|
"devops",
|
|
2154
2153
|
"stage",
|
|
2155
|
-
"
|
|
2154
|
+
"environment",
|
|
2156
2155
|
"add.js"
|
|
2157
2156
|
]
|
|
2158
2157
|
},
|
|
2159
|
-
"devops:stage:
|
|
2158
|
+
"devops:stage:environment:delete": {
|
|
2160
2159
|
"aliases": [],
|
|
2161
2160
|
"args": {},
|
|
2162
|
-
"description": "Removes the
|
|
2161
|
+
"description": "Removes the specified environment from the pipeline stage. The environment must belong to an inactive pipeline.",
|
|
2163
2162
|
"examples": [
|
|
2164
|
-
"Delete
|
|
2163
|
+
"Delete an environment:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --environment-id 0Xe000000000001"
|
|
2165
2164
|
],
|
|
2166
2165
|
"flags": {
|
|
2167
2166
|
"json": {
|
|
@@ -2199,15 +2198,16 @@
|
|
|
2199
2198
|
"pipeline-id": {
|
|
2200
2199
|
"name": "pipeline-id",
|
|
2201
2200
|
"required": true,
|
|
2202
|
-
"summary": "ID of the pipeline
|
|
2201
|
+
"summary": "ID of the pipeline. Used to verify the pipeline is inactive before deleting.",
|
|
2203
2202
|
"hasDynamicHelp": false,
|
|
2204
2203
|
"multiple": false,
|
|
2205
2204
|
"type": "option"
|
|
2206
2205
|
},
|
|
2207
|
-
"
|
|
2208
|
-
"
|
|
2206
|
+
"environment-id": {
|
|
2207
|
+
"char": "e",
|
|
2208
|
+
"name": "environment-id",
|
|
2209
2209
|
"required": true,
|
|
2210
|
-
"summary": "ID of the
|
|
2210
|
+
"summary": "ID of the environment to delete.",
|
|
2211
2211
|
"hasDynamicHelp": false,
|
|
2212
2212
|
"multiple": false,
|
|
2213
2213
|
"type": "option"
|
|
@@ -2215,12 +2215,12 @@
|
|
|
2215
2215
|
},
|
|
2216
2216
|
"hasDynamicHelp": true,
|
|
2217
2217
|
"hiddenAliases": [],
|
|
2218
|
-
"id": "devops:stage:
|
|
2218
|
+
"id": "devops:stage:environment:delete",
|
|
2219
2219
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2220
2220
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
2221
2221
|
"pluginType": "core",
|
|
2222
2222
|
"strict": true,
|
|
2223
|
-
"summary": "Delete
|
|
2223
|
+
"summary": "Delete an environment from a DevOps Center pipeline stage.",
|
|
2224
2224
|
"enableJsonFlag": true,
|
|
2225
2225
|
"isESM": true,
|
|
2226
2226
|
"relativePath": [
|
|
@@ -2228,7 +2228,7 @@
|
|
|
2228
2228
|
"commands",
|
|
2229
2229
|
"devops",
|
|
2230
2230
|
"stage",
|
|
2231
|
-
"
|
|
2231
|
+
"environment",
|
|
2232
2232
|
"delete.js"
|
|
2233
2233
|
]
|
|
2234
2234
|
},
|
|
@@ -2809,5 +2809,5 @@
|
|
|
2809
2809
|
]
|
|
2810
2810
|
}
|
|
2811
2811
|
},
|
|
2812
|
-
"version": "2.3.
|
|
2812
|
+
"version": "2.3.9"
|
|
2813
2813
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-devops-center",
|
|
3
3
|
"description": "The DevOps Center CLI plugin provides a command-line alternative to performing equivalent actions in the DevOps Center graphical UI",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Salesforce",
|
|
7
7
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
}
|
|
264
264
|
},
|
|
265
265
|
"sfdx": {
|
|
266
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/2.3.
|
|
267
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/2.3.
|
|
266
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/2.3.9.crt",
|
|
267
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/2.3.9.sig"
|
|
268
268
|
}
|
|
269
269
|
}
|