@salesforce/plugin-devops-center 2.3.6 → 2.3.8
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 +275 -275
- package/package.json +5 -5
package/oclif.manifest.json
CHANGED
|
@@ -138,13 +138,17 @@
|
|
|
138
138
|
"promote.js"
|
|
139
139
|
]
|
|
140
140
|
},
|
|
141
|
-
"devops:
|
|
141
|
+
"devops:pipeline:create": {
|
|
142
142
|
"aliases": [],
|
|
143
143
|
"args": {},
|
|
144
|
-
"description": "
|
|
144
|
+
"description": "Provide the URL of an existing repository, or use `--create-repo` with a repository name to create one. After you create the pipeline, add stages, and activate the pipeline.",
|
|
145
145
|
"examples": [
|
|
146
|
-
"Create a
|
|
147
|
-
"Create a
|
|
146
|
+
"Create a pipeline and associate it with an existing GitHub repository:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://github.com/myorg/myrepo",
|
|
147
|
+
"Create a pipeline and associate it with a new GitHub repository:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo my-new-repo --repo-type github --repo-owner myorg --create-repo",
|
|
148
|
+
"Create a pipeline and create a new Bitbucket repository:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo my-new-repo --repo-type bitbucket --bitbucket-workspace myworkspace --bitbucket-project-key PROJ --create-repo",
|
|
149
|
+
"Create a pipeline and associate it with an existing Bitbucket repository:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://bitbucket.org/myworkspace/myrepo",
|
|
150
|
+
"Create a pipeline with custom stage names instead of the default stages:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://github.com/myorg/myrepo --stage Dev --stage QA --stage Prod",
|
|
151
|
+
"Create a pipeline and associate one or more projects with it:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://github.com/myorg/myrepo --project-id 0Hn000000000001 --project-id 0Hn000000000002"
|
|
148
152
|
],
|
|
149
153
|
"flags": {
|
|
150
154
|
"json": {
|
|
@@ -183,45 +187,98 @@
|
|
|
183
187
|
"char": "n",
|
|
184
188
|
"name": "name",
|
|
185
189
|
"required": true,
|
|
186
|
-
"summary": "Name of the
|
|
190
|
+
"summary": "Name of the pipeline.",
|
|
187
191
|
"hasDynamicHelp": false,
|
|
188
192
|
"multiple": false,
|
|
189
193
|
"type": "option"
|
|
190
194
|
},
|
|
191
|
-
"
|
|
192
|
-
"char": "
|
|
193
|
-
"name": "
|
|
194
|
-
"
|
|
195
|
+
"repo": {
|
|
196
|
+
"char": "r",
|
|
197
|
+
"name": "repo",
|
|
198
|
+
"required": true,
|
|
199
|
+
"summary": "URL of an existing repository or the name of a repository to create.",
|
|
200
|
+
"hasDynamicHelp": false,
|
|
201
|
+
"multiple": false,
|
|
202
|
+
"type": "option"
|
|
203
|
+
},
|
|
204
|
+
"repo-type": {
|
|
205
|
+
"name": "repo-type",
|
|
206
|
+
"summary": "Type of the source code repository. Required when creating a repository using '--create-repo'.",
|
|
195
207
|
"hasDynamicHelp": false,
|
|
196
208
|
"multiple": false,
|
|
209
|
+
"options": [
|
|
210
|
+
"github",
|
|
211
|
+
"bitbucket"
|
|
212
|
+
],
|
|
213
|
+
"type": "option"
|
|
214
|
+
},
|
|
215
|
+
"create-repo": {
|
|
216
|
+
"name": "create-repo",
|
|
217
|
+
"summary": "Create a repository if it doesn't exist.",
|
|
218
|
+
"allowNo": false,
|
|
219
|
+
"type": "boolean"
|
|
220
|
+
},
|
|
221
|
+
"repo-owner": {
|
|
222
|
+
"name": "repo-owner",
|
|
223
|
+
"summary": "Owner (organization or user) of the GitHub repository. Required when creating a GitHub repository using '--create-repo'.",
|
|
224
|
+
"hasDynamicHelp": false,
|
|
225
|
+
"multiple": false,
|
|
226
|
+
"type": "option"
|
|
227
|
+
},
|
|
228
|
+
"bitbucket-workspace": {
|
|
229
|
+
"name": "bitbucket-workspace",
|
|
230
|
+
"summary": "Bitbucket workspace that will own the repository. Required when creating a Bitbucket repository using '--create-repo'.",
|
|
231
|
+
"hasDynamicHelp": false,
|
|
232
|
+
"multiple": false,
|
|
233
|
+
"type": "option"
|
|
234
|
+
},
|
|
235
|
+
"bitbucket-project-key": {
|
|
236
|
+
"name": "bitbucket-project-key",
|
|
237
|
+
"summary": "Bitbucket project key to associate with the repository. Optional when creating a Bitbucket repository using '--create-repo'.",
|
|
238
|
+
"hasDynamicHelp": false,
|
|
239
|
+
"multiple": false,
|
|
240
|
+
"type": "option"
|
|
241
|
+
},
|
|
242
|
+
"stage": {
|
|
243
|
+
"char": "s",
|
|
244
|
+
"name": "stage",
|
|
245
|
+
"summary": "Name of a pipeline stage, in promotion order. Repeat the flag for each stage. Defaults to Integration, UAT, Staging, and Production.",
|
|
246
|
+
"hasDynamicHelp": false,
|
|
247
|
+
"multiple": true,
|
|
248
|
+
"type": "option"
|
|
249
|
+
},
|
|
250
|
+
"project-id": {
|
|
251
|
+
"name": "project-id",
|
|
252
|
+
"summary": "ID of a project to associate with the pipeline. Repeat the flag to associate multiple projects.",
|
|
253
|
+
"hasDynamicHelp": false,
|
|
254
|
+
"multiple": true,
|
|
197
255
|
"type": "option"
|
|
198
256
|
}
|
|
199
257
|
},
|
|
200
258
|
"hasDynamicHelp": true,
|
|
201
259
|
"hiddenAliases": [],
|
|
202
|
-
"id": "devops:
|
|
260
|
+
"id": "devops:pipeline:create",
|
|
203
261
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
204
262
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
205
263
|
"pluginType": "core",
|
|
206
264
|
"strict": true,
|
|
207
|
-
"summary": "Create a DevOps Center
|
|
265
|
+
"summary": "Create a DevOps Center pipeline.",
|
|
208
266
|
"enableJsonFlag": true,
|
|
209
267
|
"isESM": true,
|
|
210
268
|
"relativePath": [
|
|
211
269
|
"lib",
|
|
212
270
|
"commands",
|
|
213
271
|
"devops",
|
|
214
|
-
"
|
|
272
|
+
"pipeline",
|
|
215
273
|
"create.js"
|
|
216
274
|
]
|
|
217
275
|
},
|
|
218
|
-
"devops:
|
|
276
|
+
"devops:pipeline:get": {
|
|
219
277
|
"aliases": [],
|
|
220
278
|
"args": {},
|
|
221
|
-
"description": "
|
|
279
|
+
"description": "Returns full details for a single DevOps Center pipeline: its stages in order, the source code repository and branch associated with each stage, and any connected projects.",
|
|
222
280
|
"examples": [
|
|
223
|
-
"
|
|
224
|
-
"List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
|
|
281
|
+
"Get details for a specific pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Do000000000001"
|
|
225
282
|
],
|
|
226
283
|
"flags": {
|
|
227
284
|
"json": {
|
|
@@ -255,35 +312,41 @@
|
|
|
255
312
|
"hasDynamicHelp": false,
|
|
256
313
|
"multiple": false,
|
|
257
314
|
"type": "option"
|
|
315
|
+
},
|
|
316
|
+
"pipeline-id": {
|
|
317
|
+
"char": "i",
|
|
318
|
+
"name": "pipeline-id",
|
|
319
|
+
"required": true,
|
|
320
|
+
"summary": "ID of the DevOps Center pipeline.",
|
|
321
|
+
"hasDynamicHelp": false,
|
|
322
|
+
"multiple": false,
|
|
323
|
+
"type": "option"
|
|
258
324
|
}
|
|
259
325
|
},
|
|
260
326
|
"hasDynamicHelp": true,
|
|
261
327
|
"hiddenAliases": [],
|
|
262
|
-
"id": "devops:
|
|
328
|
+
"id": "devops:pipeline:get",
|
|
263
329
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
264
330
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
265
331
|
"pluginType": "core",
|
|
266
332
|
"strict": true,
|
|
267
|
-
"summary": "
|
|
333
|
+
"summary": "Get details of a DevOps Center pipeline including its stages, repositories, and connected projects.",
|
|
268
334
|
"enableJsonFlag": true,
|
|
269
335
|
"isESM": true,
|
|
270
336
|
"relativePath": [
|
|
271
337
|
"lib",
|
|
272
338
|
"commands",
|
|
273
339
|
"devops",
|
|
274
|
-
"
|
|
275
|
-
"
|
|
340
|
+
"pipeline",
|
|
341
|
+
"get.js"
|
|
276
342
|
]
|
|
277
343
|
},
|
|
278
|
-
"devops:
|
|
344
|
+
"devops:pipeline:list": {
|
|
279
345
|
"aliases": [],
|
|
280
346
|
"args": {},
|
|
281
|
-
"description": "
|
|
347
|
+
"description": "Returns all DevOps Center pipelines in the org, including each pipeline's stages (in order), source code repository information per stage, and any connected projects.",
|
|
282
348
|
"examples": [
|
|
283
|
-
"
|
|
284
|
-
"Update the description of a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --description \"Updated release description\"",
|
|
285
|
-
"Deactivate a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --no-is-active",
|
|
286
|
-
"Update all fields at once:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"Archived App\" --description \"Archived\" --no-is-active"
|
|
349
|
+
"List all pipelines in the org:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org"
|
|
287
350
|
],
|
|
288
351
|
"flags": {
|
|
289
352
|
"json": {
|
|
@@ -317,68 +380,33 @@
|
|
|
317
380
|
"hasDynamicHelp": false,
|
|
318
381
|
"multiple": false,
|
|
319
382
|
"type": "option"
|
|
320
|
-
},
|
|
321
|
-
"project-id": {
|
|
322
|
-
"char": "i",
|
|
323
|
-
"name": "project-id",
|
|
324
|
-
"required": true,
|
|
325
|
-
"summary": "ID of the DevOps Center project to update.",
|
|
326
|
-
"hasDynamicHelp": false,
|
|
327
|
-
"multiple": false,
|
|
328
|
-
"type": "option"
|
|
329
|
-
},
|
|
330
|
-
"name": {
|
|
331
|
-
"char": "n",
|
|
332
|
-
"name": "name",
|
|
333
|
-
"summary": "New name for the project.",
|
|
334
|
-
"hasDynamicHelp": false,
|
|
335
|
-
"multiple": false,
|
|
336
|
-
"type": "option"
|
|
337
|
-
},
|
|
338
|
-
"description": {
|
|
339
|
-
"char": "d",
|
|
340
|
-
"name": "description",
|
|
341
|
-
"summary": "New description for the project.",
|
|
342
|
-
"hasDynamicHelp": false,
|
|
343
|
-
"multiple": false,
|
|
344
|
-
"type": "option"
|
|
345
|
-
},
|
|
346
|
-
"is-active": {
|
|
347
|
-
"name": "is-active",
|
|
348
|
-
"summary": "Set the project active status. Use --is-active to activate or --no-is-active to deactivate.",
|
|
349
|
-
"allowNo": true,
|
|
350
|
-
"type": "boolean"
|
|
351
383
|
}
|
|
352
384
|
},
|
|
353
385
|
"hasDynamicHelp": true,
|
|
354
386
|
"hiddenAliases": [],
|
|
355
|
-
"id": "devops:
|
|
387
|
+
"id": "devops:pipeline:list",
|
|
356
388
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
357
389
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
358
390
|
"pluginType": "core",
|
|
359
391
|
"strict": true,
|
|
360
|
-
"summary": "
|
|
392
|
+
"summary": "List DevOps Center pipelines with their stages, repositories, and connected projects.",
|
|
361
393
|
"enableJsonFlag": true,
|
|
362
394
|
"isESM": true,
|
|
363
395
|
"relativePath": [
|
|
364
396
|
"lib",
|
|
365
397
|
"commands",
|
|
366
398
|
"devops",
|
|
367
|
-
"
|
|
368
|
-
"
|
|
399
|
+
"pipeline",
|
|
400
|
+
"list.js"
|
|
369
401
|
]
|
|
370
402
|
},
|
|
371
|
-
"devops:pipeline:
|
|
403
|
+
"devops:pipeline:update": {
|
|
372
404
|
"aliases": [],
|
|
373
405
|
"args": {},
|
|
374
|
-
"description": "
|
|
406
|
+
"description": "Activate, deactivate, or rename a DevOps Center pipeline. Use --activate to activate, --deactivate to deactivate, and --name to rename. You can combine --deactivate and --name in one command.\n\nA pipeline must have at least one stage before you can activate it. You can't modify the pipeline stages after you activate and promote changes through it.",
|
|
375
407
|
"examples": [
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
"Create a pipeline and create a new Bitbucket repository:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo my-new-repo --repo-type bitbucket --bitbucket-workspace myworkspace --bitbucket-project-key PROJ --create-repo",
|
|
379
|
-
"Create a pipeline and associate it with an existing Bitbucket repository:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://bitbucket.org/myworkspace/myrepo",
|
|
380
|
-
"Create a pipeline with custom stage names instead of the default stages:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://github.com/myorg/myrepo --stage Dev --stage QA --stage Prod",
|
|
381
|
-
"Create a pipeline and associate one or more projects with it:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://github.com/myorg/myrepo --project-id 0Hn000000000001 --project-id 0Hn000000000002"
|
|
408
|
+
"Activate a pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --activate",
|
|
409
|
+
"Deactivate and rename in one step.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --deactivate --name \"My Pipeline\""
|
|
382
410
|
],
|
|
383
411
|
"flags": {
|
|
384
412
|
"json": {
|
|
@@ -413,86 +441,52 @@
|
|
|
413
441
|
"multiple": false,
|
|
414
442
|
"type": "option"
|
|
415
443
|
},
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
"name": "name",
|
|
419
|
-
"required": true,
|
|
420
|
-
"summary": "Name of the pipeline.",
|
|
421
|
-
"hasDynamicHelp": false,
|
|
422
|
-
"multiple": false,
|
|
423
|
-
"type": "option"
|
|
424
|
-
},
|
|
425
|
-
"repo": {
|
|
426
|
-
"char": "r",
|
|
427
|
-
"name": "repo",
|
|
444
|
+
"pipeline-id": {
|
|
445
|
+
"name": "pipeline-id",
|
|
428
446
|
"required": true,
|
|
429
|
-
"summary": "
|
|
447
|
+
"summary": "ID of the pipeline.",
|
|
430
448
|
"hasDynamicHelp": false,
|
|
431
449
|
"multiple": false,
|
|
432
450
|
"type": "option"
|
|
433
451
|
},
|
|
434
|
-
"
|
|
435
|
-
"
|
|
436
|
-
|
|
437
|
-
"hasDynamicHelp": false,
|
|
438
|
-
"multiple": false,
|
|
439
|
-
"options": [
|
|
440
|
-
"github",
|
|
441
|
-
"bitbucket"
|
|
452
|
+
"activate": {
|
|
453
|
+
"exclusive": [
|
|
454
|
+
"deactivate"
|
|
442
455
|
],
|
|
443
|
-
"
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
"name": "create-repo",
|
|
447
|
-
"summary": "Create a repository if it doesn't exist.",
|
|
456
|
+
"name": "activate",
|
|
457
|
+
"required": false,
|
|
458
|
+
"summary": "Activate the pipeline. Can't be used with --deactivate.",
|
|
448
459
|
"allowNo": false,
|
|
449
460
|
"type": "boolean"
|
|
450
461
|
},
|
|
451
|
-
"
|
|
452
|
-
"
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
"
|
|
460
|
-
"summary": "Bitbucket workspace that will own the repository. Required when creating a Bitbucket repository using '--create-repo'.",
|
|
461
|
-
"hasDynamicHelp": false,
|
|
462
|
-
"multiple": false,
|
|
463
|
-
"type": "option"
|
|
462
|
+
"deactivate": {
|
|
463
|
+
"exclusive": [
|
|
464
|
+
"activate"
|
|
465
|
+
],
|
|
466
|
+
"name": "deactivate",
|
|
467
|
+
"required": false,
|
|
468
|
+
"summary": "Deactivate the pipeline. Can't be used with --activate.",
|
|
469
|
+
"allowNo": false,
|
|
470
|
+
"type": "boolean"
|
|
464
471
|
},
|
|
465
|
-
"
|
|
466
|
-
"
|
|
467
|
-
"
|
|
472
|
+
"name": {
|
|
473
|
+
"char": "n",
|
|
474
|
+
"name": "name",
|
|
475
|
+
"required": false,
|
|
476
|
+
"summary": "New name for the pipeline.",
|
|
468
477
|
"hasDynamicHelp": false,
|
|
469
478
|
"multiple": false,
|
|
470
479
|
"type": "option"
|
|
471
|
-
},
|
|
472
|
-
"stage": {
|
|
473
|
-
"char": "s",
|
|
474
|
-
"name": "stage",
|
|
475
|
-
"summary": "Name of a pipeline stage, in promotion order. Repeat the flag for each stage. Defaults to Integration, UAT, Staging, and Production.",
|
|
476
|
-
"hasDynamicHelp": false,
|
|
477
|
-
"multiple": true,
|
|
478
|
-
"type": "option"
|
|
479
|
-
},
|
|
480
|
-
"project-id": {
|
|
481
|
-
"name": "project-id",
|
|
482
|
-
"summary": "ID of a project to associate with the pipeline. Repeat the flag to associate multiple projects.",
|
|
483
|
-
"hasDynamicHelp": false,
|
|
484
|
-
"multiple": true,
|
|
485
|
-
"type": "option"
|
|
486
480
|
}
|
|
487
481
|
},
|
|
488
482
|
"hasDynamicHelp": true,
|
|
489
483
|
"hiddenAliases": [],
|
|
490
|
-
"id": "devops:pipeline:
|
|
484
|
+
"id": "devops:pipeline:update",
|
|
491
485
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
492
486
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
493
487
|
"pluginType": "core",
|
|
494
488
|
"strict": true,
|
|
495
|
-
"summary": "
|
|
489
|
+
"summary": "Update a DevOps Center pipeline.",
|
|
496
490
|
"enableJsonFlag": true,
|
|
497
491
|
"isESM": true,
|
|
498
492
|
"relativePath": [
|
|
@@ -500,15 +494,16 @@
|
|
|
500
494
|
"commands",
|
|
501
495
|
"devops",
|
|
502
496
|
"pipeline",
|
|
503
|
-
"
|
|
497
|
+
"update.js"
|
|
504
498
|
]
|
|
505
499
|
},
|
|
506
|
-
"devops:
|
|
500
|
+
"devops:project:create": {
|
|
507
501
|
"aliases": [],
|
|
508
502
|
"args": {},
|
|
509
|
-
"description": "
|
|
503
|
+
"description": "Creates a new DevOps Center project with the specified name and optional description.",
|
|
510
504
|
"examples": [
|
|
511
|
-
"
|
|
505
|
+
"Create a new DevOps Center project in the specified org.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"MyApp Release\"",
|
|
506
|
+
"Create a project with a name and description.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Platform Update\" --description \"Platform services update\""
|
|
512
507
|
],
|
|
513
508
|
"flags": {
|
|
514
509
|
"json": {
|
|
@@ -543,11 +538,19 @@
|
|
|
543
538
|
"multiple": false,
|
|
544
539
|
"type": "option"
|
|
545
540
|
},
|
|
546
|
-
"
|
|
547
|
-
"char": "
|
|
548
|
-
"name": "
|
|
541
|
+
"name": {
|
|
542
|
+
"char": "n",
|
|
543
|
+
"name": "name",
|
|
549
544
|
"required": true,
|
|
550
|
-
"summary": "
|
|
545
|
+
"summary": "Name of the new DevOps Center project.",
|
|
546
|
+
"hasDynamicHelp": false,
|
|
547
|
+
"multiple": false,
|
|
548
|
+
"type": "option"
|
|
549
|
+
},
|
|
550
|
+
"description": {
|
|
551
|
+
"char": "d",
|
|
552
|
+
"name": "description",
|
|
553
|
+
"summary": "Description of the new project; if not specified, the description is blank.",
|
|
551
554
|
"hasDynamicHelp": false,
|
|
552
555
|
"multiple": false,
|
|
553
556
|
"type": "option"
|
|
@@ -555,28 +558,29 @@
|
|
|
555
558
|
},
|
|
556
559
|
"hasDynamicHelp": true,
|
|
557
560
|
"hiddenAliases": [],
|
|
558
|
-
"id": "devops:
|
|
561
|
+
"id": "devops:project:create",
|
|
559
562
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
560
563
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
561
564
|
"pluginType": "core",
|
|
562
565
|
"strict": true,
|
|
563
|
-
"summary": "
|
|
566
|
+
"summary": "Create a DevOps Center project in a DevOps Center org.",
|
|
564
567
|
"enableJsonFlag": true,
|
|
565
568
|
"isESM": true,
|
|
566
569
|
"relativePath": [
|
|
567
570
|
"lib",
|
|
568
571
|
"commands",
|
|
569
572
|
"devops",
|
|
570
|
-
"
|
|
571
|
-
"
|
|
573
|
+
"project",
|
|
574
|
+
"create.js"
|
|
572
575
|
]
|
|
573
576
|
},
|
|
574
|
-
"devops:
|
|
577
|
+
"devops:project:list": {
|
|
575
578
|
"aliases": [],
|
|
576
579
|
"args": {},
|
|
577
|
-
"description": "
|
|
580
|
+
"description": "This command queries the DevopsProject standard object and returns the project Id, Name, and Description for each project found.",
|
|
578
581
|
"examples": [
|
|
579
|
-
"List all
|
|
582
|
+
"List all DevOps Center projects in an org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org",
|
|
583
|
+
"List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
|
|
580
584
|
],
|
|
581
585
|
"flags": {
|
|
582
586
|
"json": {
|
|
@@ -614,29 +618,31 @@
|
|
|
614
618
|
},
|
|
615
619
|
"hasDynamicHelp": true,
|
|
616
620
|
"hiddenAliases": [],
|
|
617
|
-
"id": "devops:
|
|
621
|
+
"id": "devops:project:list",
|
|
618
622
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
619
623
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
620
624
|
"pluginType": "core",
|
|
621
625
|
"strict": true,
|
|
622
|
-
"summary": "List DevOps Center
|
|
626
|
+
"summary": "List all DevOps Center projects in a Salesforce org.",
|
|
623
627
|
"enableJsonFlag": true,
|
|
624
628
|
"isESM": true,
|
|
625
629
|
"relativePath": [
|
|
626
630
|
"lib",
|
|
627
631
|
"commands",
|
|
628
632
|
"devops",
|
|
629
|
-
"
|
|
633
|
+
"project",
|
|
630
634
|
"list.js"
|
|
631
635
|
]
|
|
632
636
|
},
|
|
633
|
-
"devops:
|
|
637
|
+
"devops:project:update": {
|
|
634
638
|
"aliases": [],
|
|
635
639
|
"args": {},
|
|
636
|
-
"description": "
|
|
640
|
+
"description": "Update the name, description, or active status of a DevOps Center project. At least one of --name, --description, or --is-active must be provided.",
|
|
637
641
|
"examples": [
|
|
638
|
-
"
|
|
639
|
-
"
|
|
642
|
+
"Rename a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"MyApp Release v2\"",
|
|
643
|
+
"Update the description of a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --description \"Updated release description\"",
|
|
644
|
+
"Deactivate a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --no-is-active",
|
|
645
|
+
"Update all fields at once:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"Archived App\" --description \"Archived\" --no-is-active"
|
|
640
646
|
],
|
|
641
647
|
"flags": {
|
|
642
648
|
"json": {
|
|
@@ -671,59 +677,53 @@
|
|
|
671
677
|
"multiple": false,
|
|
672
678
|
"type": "option"
|
|
673
679
|
},
|
|
674
|
-
"
|
|
675
|
-
"
|
|
680
|
+
"project-id": {
|
|
681
|
+
"char": "i",
|
|
682
|
+
"name": "project-id",
|
|
676
683
|
"required": true,
|
|
677
|
-
"summary": "ID of the
|
|
684
|
+
"summary": "ID of the DevOps Center project to update.",
|
|
678
685
|
"hasDynamicHelp": false,
|
|
679
686
|
"multiple": false,
|
|
680
687
|
"type": "option"
|
|
681
688
|
},
|
|
682
|
-
"activate": {
|
|
683
|
-
"exclusive": [
|
|
684
|
-
"deactivate"
|
|
685
|
-
],
|
|
686
|
-
"name": "activate",
|
|
687
|
-
"required": false,
|
|
688
|
-
"summary": "Activate the pipeline. Can't be used with --deactivate.",
|
|
689
|
-
"allowNo": false,
|
|
690
|
-
"type": "boolean"
|
|
691
|
-
},
|
|
692
|
-
"deactivate": {
|
|
693
|
-
"exclusive": [
|
|
694
|
-
"activate"
|
|
695
|
-
],
|
|
696
|
-
"name": "deactivate",
|
|
697
|
-
"required": false,
|
|
698
|
-
"summary": "Deactivate the pipeline. Can't be used with --activate.",
|
|
699
|
-
"allowNo": false,
|
|
700
|
-
"type": "boolean"
|
|
701
|
-
},
|
|
702
689
|
"name": {
|
|
703
690
|
"char": "n",
|
|
704
691
|
"name": "name",
|
|
705
|
-
"
|
|
706
|
-
"
|
|
692
|
+
"summary": "New name for the project.",
|
|
693
|
+
"hasDynamicHelp": false,
|
|
694
|
+
"multiple": false,
|
|
695
|
+
"type": "option"
|
|
696
|
+
},
|
|
697
|
+
"description": {
|
|
698
|
+
"char": "d",
|
|
699
|
+
"name": "description",
|
|
700
|
+
"summary": "New description for the project.",
|
|
707
701
|
"hasDynamicHelp": false,
|
|
708
702
|
"multiple": false,
|
|
709
703
|
"type": "option"
|
|
704
|
+
},
|
|
705
|
+
"is-active": {
|
|
706
|
+
"name": "is-active",
|
|
707
|
+
"summary": "Set the project active status. Use --is-active to activate or --no-is-active to deactivate.",
|
|
708
|
+
"allowNo": true,
|
|
709
|
+
"type": "boolean"
|
|
710
710
|
}
|
|
711
711
|
},
|
|
712
712
|
"hasDynamicHelp": true,
|
|
713
713
|
"hiddenAliases": [],
|
|
714
|
-
"id": "devops:
|
|
714
|
+
"id": "devops:project:update",
|
|
715
715
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
716
716
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
717
717
|
"pluginType": "core",
|
|
718
718
|
"strict": true,
|
|
719
|
-
"summary": "Update a DevOps Center
|
|
719
|
+
"summary": "Update a DevOps Center project.",
|
|
720
720
|
"enableJsonFlag": true,
|
|
721
721
|
"isESM": true,
|
|
722
722
|
"relativePath": [
|
|
723
723
|
"lib",
|
|
724
724
|
"commands",
|
|
725
725
|
"devops",
|
|
726
|
-
"
|
|
726
|
+
"project",
|
|
727
727
|
"update.js"
|
|
728
728
|
]
|
|
729
729
|
},
|
|
@@ -915,13 +915,12 @@
|
|
|
915
915
|
"validate.js"
|
|
916
916
|
]
|
|
917
917
|
},
|
|
918
|
-
"devops:
|
|
918
|
+
"devops:request:status": {
|
|
919
919
|
"aliases": [],
|
|
920
920
|
"args": {},
|
|
921
|
-
"description": "
|
|
921
|
+
"description": "Returns the current status of a request identified by its request token.",
|
|
922
922
|
"examples": [
|
|
923
|
-
"
|
|
924
|
-
"Create a pull request using the work item ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001"
|
|
923
|
+
"Get the status of a request:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --request-token a0B000000000001"
|
|
925
924
|
],
|
|
926
925
|
"flags": {
|
|
927
926
|
"json": {
|
|
@@ -956,18 +955,11 @@
|
|
|
956
955
|
"multiple": false,
|
|
957
956
|
"type": "option"
|
|
958
957
|
},
|
|
959
|
-
"
|
|
960
|
-
"char": "
|
|
961
|
-
"name": "
|
|
962
|
-
"
|
|
963
|
-
"
|
|
964
|
-
"multiple": false,
|
|
965
|
-
"type": "option"
|
|
966
|
-
},
|
|
967
|
-
"work-item-id": {
|
|
968
|
-
"char": "w",
|
|
969
|
-
"name": "work-item-id",
|
|
970
|
-
"summary": "ID of the work item.",
|
|
958
|
+
"request-token": {
|
|
959
|
+
"char": "i",
|
|
960
|
+
"name": "request-token",
|
|
961
|
+
"required": true,
|
|
962
|
+
"summary": "Request token from the promote response.",
|
|
971
963
|
"hasDynamicHelp": false,
|
|
972
964
|
"multiple": false,
|
|
973
965
|
"type": "option"
|
|
@@ -975,28 +967,29 @@
|
|
|
975
967
|
},
|
|
976
968
|
"hasDynamicHelp": true,
|
|
977
969
|
"hiddenAliases": [],
|
|
978
|
-
"id": "devops:
|
|
970
|
+
"id": "devops:request:status",
|
|
979
971
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
980
972
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
981
973
|
"pluginType": "core",
|
|
982
974
|
"strict": true,
|
|
983
|
-
"summary": "
|
|
975
|
+
"summary": "Get the status of a request.",
|
|
984
976
|
"enableJsonFlag": true,
|
|
985
977
|
"isESM": true,
|
|
986
978
|
"relativePath": [
|
|
987
979
|
"lib",
|
|
988
980
|
"commands",
|
|
989
981
|
"devops",
|
|
990
|
-
"
|
|
991
|
-
"
|
|
982
|
+
"request",
|
|
983
|
+
"status.js"
|
|
992
984
|
]
|
|
993
985
|
},
|
|
994
|
-
"devops:
|
|
986
|
+
"devops:review:create": {
|
|
995
987
|
"aliases": [],
|
|
996
988
|
"args": {},
|
|
997
|
-
"description": "
|
|
989
|
+
"description": "Creates a pull request via the Salesforce DevOps Center API, using the VCS credentials stored in the org. Works with GitHub and Bitbucket without requiring local VCS authentication.",
|
|
998
990
|
"examples": [
|
|
999
|
-
"
|
|
991
|
+
"Create a pull request for a work item.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001",
|
|
992
|
+
"Create a pull request using the work item ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001"
|
|
1000
993
|
],
|
|
1001
994
|
"flags": {
|
|
1002
995
|
"json": {
|
|
@@ -1031,11 +1024,18 @@
|
|
|
1031
1024
|
"multiple": false,
|
|
1032
1025
|
"type": "option"
|
|
1033
1026
|
},
|
|
1034
|
-
"
|
|
1035
|
-
"char": "
|
|
1036
|
-
"name": "
|
|
1037
|
-
"
|
|
1038
|
-
"
|
|
1027
|
+
"work-item-name": {
|
|
1028
|
+
"char": "n",
|
|
1029
|
+
"name": "work-item-name",
|
|
1030
|
+
"summary": "Name of the work item, such as WI-000001.",
|
|
1031
|
+
"hasDynamicHelp": false,
|
|
1032
|
+
"multiple": false,
|
|
1033
|
+
"type": "option"
|
|
1034
|
+
},
|
|
1035
|
+
"work-item-id": {
|
|
1036
|
+
"char": "w",
|
|
1037
|
+
"name": "work-item-id",
|
|
1038
|
+
"summary": "ID of the work item.",
|
|
1039
1039
|
"hasDynamicHelp": false,
|
|
1040
1040
|
"multiple": false,
|
|
1041
1041
|
"type": "option"
|
|
@@ -1043,20 +1043,20 @@
|
|
|
1043
1043
|
},
|
|
1044
1044
|
"hasDynamicHelp": true,
|
|
1045
1045
|
"hiddenAliases": [],
|
|
1046
|
-
"id": "devops:
|
|
1046
|
+
"id": "devops:review:create",
|
|
1047
1047
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
1048
1048
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
1049
1049
|
"pluginType": "core",
|
|
1050
1050
|
"strict": true,
|
|
1051
|
-
"summary": "
|
|
1051
|
+
"summary": "Create a pull request for a work item branch.",
|
|
1052
1052
|
"enableJsonFlag": true,
|
|
1053
1053
|
"isESM": true,
|
|
1054
1054
|
"relativePath": [
|
|
1055
1055
|
"lib",
|
|
1056
1056
|
"commands",
|
|
1057
1057
|
"devops",
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1058
|
+
"review",
|
|
1059
|
+
"create.js"
|
|
1060
1060
|
]
|
|
1061
1061
|
},
|
|
1062
1062
|
"devops:work-item:combine": {
|
|
@@ -1872,13 +1872,12 @@
|
|
|
1872
1872
|
"update.js"
|
|
1873
1873
|
]
|
|
1874
1874
|
},
|
|
1875
|
-
"devops:stage:
|
|
1875
|
+
"devops:stage:environment:add": {
|
|
1876
1876
|
"aliases": [],
|
|
1877
1877
|
"args": {},
|
|
1878
|
-
"description": "
|
|
1878
|
+
"description": "This command triggers an OAuth flow to authenticate the environment. A browser window opens automatically for you to log in.",
|
|
1879
1879
|
"examples": [
|
|
1880
|
-
"Add
|
|
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"
|
|
1880
|
+
"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"
|
|
1882
1881
|
],
|
|
1883
1882
|
"flags": {
|
|
1884
1883
|
"json": {
|
|
@@ -1924,41 +1923,53 @@
|
|
|
1924
1923
|
"stage-id": {
|
|
1925
1924
|
"name": "stage-id",
|
|
1926
1925
|
"required": true,
|
|
1927
|
-
"summary": "ID of the pipeline stage
|
|
1926
|
+
"summary": "ID of the pipeline stage.",
|
|
1928
1927
|
"hasDynamicHelp": false,
|
|
1929
1928
|
"multiple": false,
|
|
1930
1929
|
"type": "option"
|
|
1931
1930
|
},
|
|
1932
|
-
"
|
|
1933
|
-
"char": "
|
|
1934
|
-
"name": "
|
|
1931
|
+
"environment-name": {
|
|
1932
|
+
"char": "e",
|
|
1933
|
+
"name": "environment-name",
|
|
1935
1934
|
"required": true,
|
|
1936
|
-
"summary": "Name of the
|
|
1935
|
+
"summary": "Name of the environment.",
|
|
1937
1936
|
"hasDynamicHelp": false,
|
|
1938
1937
|
"multiple": false,
|
|
1939
1938
|
"type": "option"
|
|
1940
1939
|
},
|
|
1941
|
-
"
|
|
1942
|
-
"name": "
|
|
1943
|
-
"
|
|
1940
|
+
"org-type": {
|
|
1941
|
+
"name": "org-type",
|
|
1942
|
+
"required": true,
|
|
1943
|
+
"summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
|
|
1944
|
+
"hasDynamicHelp": false,
|
|
1945
|
+
"multiple": false,
|
|
1946
|
+
"options": [
|
|
1947
|
+
"Production",
|
|
1948
|
+
"Sandbox"
|
|
1949
|
+
],
|
|
1950
|
+
"type": "option"
|
|
1951
|
+
},
|
|
1952
|
+
"no-browser": {
|
|
1953
|
+
"name": "no-browser",
|
|
1954
|
+
"summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
|
|
1944
1955
|
"allowNo": false,
|
|
1945
1956
|
"type": "boolean"
|
|
1946
1957
|
},
|
|
1947
1958
|
"force": {
|
|
1948
1959
|
"name": "force",
|
|
1949
|
-
"summary": "Replace the stage's existing
|
|
1960
|
+
"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.",
|
|
1950
1961
|
"allowNo": false,
|
|
1951
1962
|
"type": "boolean"
|
|
1952
1963
|
}
|
|
1953
1964
|
},
|
|
1954
1965
|
"hasDynamicHelp": true,
|
|
1955
1966
|
"hiddenAliases": [],
|
|
1956
|
-
"id": "devops:stage:
|
|
1967
|
+
"id": "devops:stage:environment:add",
|
|
1957
1968
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
1958
1969
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
1959
1970
|
"pluginType": "core",
|
|
1960
1971
|
"strict": true,
|
|
1961
|
-
"summary": "Add a
|
|
1972
|
+
"summary": "Add a Salesforce environment to a pipeline stage.",
|
|
1962
1973
|
"enableJsonFlag": true,
|
|
1963
1974
|
"isESM": true,
|
|
1964
1975
|
"relativePath": [
|
|
@@ -1966,16 +1977,16 @@
|
|
|
1966
1977
|
"commands",
|
|
1967
1978
|
"devops",
|
|
1968
1979
|
"stage",
|
|
1969
|
-
"
|
|
1980
|
+
"environment",
|
|
1970
1981
|
"add.js"
|
|
1971
1982
|
]
|
|
1972
1983
|
},
|
|
1973
|
-
"devops:stage:
|
|
1984
|
+
"devops:stage:environment:delete": {
|
|
1974
1985
|
"aliases": [],
|
|
1975
1986
|
"args": {},
|
|
1976
|
-
"description": "Removes the
|
|
1987
|
+
"description": "Removes the specified environment from the pipeline stage. The environment must belong to an inactive pipeline.",
|
|
1977
1988
|
"examples": [
|
|
1978
|
-
"Delete
|
|
1989
|
+
"Delete an environment:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --environment-id 0Xe000000000001"
|
|
1979
1990
|
],
|
|
1980
1991
|
"flags": {
|
|
1981
1992
|
"json": {
|
|
@@ -2013,15 +2024,16 @@
|
|
|
2013
2024
|
"pipeline-id": {
|
|
2014
2025
|
"name": "pipeline-id",
|
|
2015
2026
|
"required": true,
|
|
2016
|
-
"summary": "ID of the pipeline
|
|
2027
|
+
"summary": "ID of the pipeline. Used to verify the pipeline is inactive before deleting.",
|
|
2017
2028
|
"hasDynamicHelp": false,
|
|
2018
2029
|
"multiple": false,
|
|
2019
2030
|
"type": "option"
|
|
2020
2031
|
},
|
|
2021
|
-
"
|
|
2022
|
-
"
|
|
2032
|
+
"environment-id": {
|
|
2033
|
+
"char": "e",
|
|
2034
|
+
"name": "environment-id",
|
|
2023
2035
|
"required": true,
|
|
2024
|
-
"summary": "ID of the
|
|
2036
|
+
"summary": "ID of the environment to delete.",
|
|
2025
2037
|
"hasDynamicHelp": false,
|
|
2026
2038
|
"multiple": false,
|
|
2027
2039
|
"type": "option"
|
|
@@ -2029,12 +2041,12 @@
|
|
|
2029
2041
|
},
|
|
2030
2042
|
"hasDynamicHelp": true,
|
|
2031
2043
|
"hiddenAliases": [],
|
|
2032
|
-
"id": "devops:stage:
|
|
2044
|
+
"id": "devops:stage:environment:delete",
|
|
2033
2045
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2034
2046
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
2035
2047
|
"pluginType": "core",
|
|
2036
2048
|
"strict": true,
|
|
2037
|
-
"summary": "Delete
|
|
2049
|
+
"summary": "Delete an environment from a DevOps Center pipeline stage.",
|
|
2038
2050
|
"enableJsonFlag": true,
|
|
2039
2051
|
"isESM": true,
|
|
2040
2052
|
"relativePath": [
|
|
@@ -2042,16 +2054,17 @@
|
|
|
2042
2054
|
"commands",
|
|
2043
2055
|
"devops",
|
|
2044
2056
|
"stage",
|
|
2045
|
-
"
|
|
2057
|
+
"environment",
|
|
2046
2058
|
"delete.js"
|
|
2047
2059
|
]
|
|
2048
2060
|
},
|
|
2049
|
-
"devops:stage:
|
|
2061
|
+
"devops:stage:branch:add": {
|
|
2050
2062
|
"aliases": [],
|
|
2051
2063
|
"args": {},
|
|
2052
|
-
"description": "
|
|
2064
|
+
"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.",
|
|
2053
2065
|
"examples": [
|
|
2054
|
-
"Add
|
|
2066
|
+
"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",
|
|
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"
|
|
2055
2068
|
],
|
|
2056
2069
|
"flags": {
|
|
2057
2070
|
"json": {
|
|
@@ -2097,53 +2110,41 @@
|
|
|
2097
2110
|
"stage-id": {
|
|
2098
2111
|
"name": "stage-id",
|
|
2099
2112
|
"required": true,
|
|
2100
|
-
"summary": "ID of the pipeline stage.",
|
|
2101
|
-
"hasDynamicHelp": false,
|
|
2102
|
-
"multiple": false,
|
|
2103
|
-
"type": "option"
|
|
2104
|
-
},
|
|
2105
|
-
"environment-name": {
|
|
2106
|
-
"char": "e",
|
|
2107
|
-
"name": "environment-name",
|
|
2108
|
-
"required": true,
|
|
2109
|
-
"summary": "Name of the environment.",
|
|
2113
|
+
"summary": "ID of the pipeline stage to associate the branch with.",
|
|
2110
2114
|
"hasDynamicHelp": false,
|
|
2111
2115
|
"multiple": false,
|
|
2112
2116
|
"type": "option"
|
|
2113
2117
|
},
|
|
2114
|
-
"
|
|
2115
|
-
"
|
|
2118
|
+
"branch-name": {
|
|
2119
|
+
"char": "b",
|
|
2120
|
+
"name": "branch-name",
|
|
2116
2121
|
"required": true,
|
|
2117
|
-
"summary": "
|
|
2122
|
+
"summary": "Name of the repository branch to assign to the stage.",
|
|
2118
2123
|
"hasDynamicHelp": false,
|
|
2119
2124
|
"multiple": false,
|
|
2120
|
-
"options": [
|
|
2121
|
-
"Production",
|
|
2122
|
-
"Sandbox"
|
|
2123
|
-
],
|
|
2124
2125
|
"type": "option"
|
|
2125
2126
|
},
|
|
2126
|
-
"
|
|
2127
|
-
"name": "
|
|
2128
|
-
"summary": "
|
|
2127
|
+
"create-vcs-branch": {
|
|
2128
|
+
"name": "create-vcs-branch",
|
|
2129
|
+
"summary": "Create the branch in the remote repository if it doesn't already exist.",
|
|
2129
2130
|
"allowNo": false,
|
|
2130
2131
|
"type": "boolean"
|
|
2131
2132
|
},
|
|
2132
2133
|
"force": {
|
|
2133
2134
|
"name": "force",
|
|
2134
|
-
"summary": "Replace the stage's existing
|
|
2135
|
+
"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.",
|
|
2135
2136
|
"allowNo": false,
|
|
2136
2137
|
"type": "boolean"
|
|
2137
2138
|
}
|
|
2138
2139
|
},
|
|
2139
2140
|
"hasDynamicHelp": true,
|
|
2140
2141
|
"hiddenAliases": [],
|
|
2141
|
-
"id": "devops:stage:
|
|
2142
|
+
"id": "devops:stage:branch:add",
|
|
2142
2143
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2143
2144
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
2144
2145
|
"pluginType": "core",
|
|
2145
2146
|
"strict": true,
|
|
2146
|
-
"summary": "Add a
|
|
2147
|
+
"summary": "Add a source code repository branch to a pipeline stage.",
|
|
2147
2148
|
"enableJsonFlag": true,
|
|
2148
2149
|
"isESM": true,
|
|
2149
2150
|
"relativePath": [
|
|
@@ -2151,16 +2152,16 @@
|
|
|
2151
2152
|
"commands",
|
|
2152
2153
|
"devops",
|
|
2153
2154
|
"stage",
|
|
2154
|
-
"
|
|
2155
|
+
"branch",
|
|
2155
2156
|
"add.js"
|
|
2156
2157
|
]
|
|
2157
2158
|
},
|
|
2158
|
-
"devops:stage:
|
|
2159
|
+
"devops:stage:branch:delete": {
|
|
2159
2160
|
"aliases": [],
|
|
2160
2161
|
"args": {},
|
|
2161
|
-
"description": "Removes the specified
|
|
2162
|
+
"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.",
|
|
2162
2163
|
"examples": [
|
|
2163
|
-
"Delete
|
|
2164
|
+
"Delete the branch associated with a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000001"
|
|
2164
2165
|
],
|
|
2165
2166
|
"flags": {
|
|
2166
2167
|
"json": {
|
|
@@ -2198,16 +2199,15 @@
|
|
|
2198
2199
|
"pipeline-id": {
|
|
2199
2200
|
"name": "pipeline-id",
|
|
2200
2201
|
"required": true,
|
|
2201
|
-
"summary": "ID of the pipeline. Used to verify the pipeline is inactive before deleting.",
|
|
2202
|
+
"summary": "ID of the pipeline that contains the stage. Used to verify the pipeline is inactive before deleting.",
|
|
2202
2203
|
"hasDynamicHelp": false,
|
|
2203
2204
|
"multiple": false,
|
|
2204
2205
|
"type": "option"
|
|
2205
2206
|
},
|
|
2206
|
-
"
|
|
2207
|
-
"
|
|
2208
|
-
"name": "environment-id",
|
|
2207
|
+
"stage-id": {
|
|
2208
|
+
"name": "stage-id",
|
|
2209
2209
|
"required": true,
|
|
2210
|
-
"summary": "ID of the
|
|
2210
|
+
"summary": "ID of the pipeline stage whose branch you want 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:branch: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 the source code repository branch associated with a 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
|
+
"branch",
|
|
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.8"
|
|
2813
2813
|
}
|