@@ -96,14 +96,15 @@ Create a DevOps Center pipeline.
9696USAGE
9797 $ sf devops pipeline create -o <value> -n <value> -r <value> [--json] [--flags-dir <value>] [--api-version <value>]
9898 [--repo-type github|bitbucket] [--create-repo] [--repo-owner <value>] [--bitbucket-workspace <value>]
99- [--bitbucket-project-key <value>] [-d <value>]
99+ [--bitbucket-project-key <value>] [-s <value>... ]
100100
101101FLAGS
102- -d, --description=<value> Description of the pipeline.
103102 -n, --name=<value> (required) Name of the pipeline.
104103 -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
105104 configuration variable is already set.
106105 -r, --repo=<value> (required) URL of an existing repository or the name of a repository to create.
106+ -s, --stage=<value>... Name of a pipeline stage, in promotion order. Repeat the flag for each stage.
107+ Defaults to Integration, UAT, Staging, and Production.
107108 --api-version=<value> Override the api version used for api requests made by this command
108109 --bitbucket-project-key=<value> Bitbucket project key to associate with the repository. Optional when creating a
109110 Bitbucket repository using '--create-repo'.
@@ -127,28 +128,33 @@ DESCRIPTION
127128 create the pipeline, add stages, and activate the pipeline.
128129
129130EXAMPLES
130- Create a pipeline and associate it with an existing GitHub repository.
131+ Create a pipeline and associate it with an existing GitHub repository:
131132
132133 $ sf devops pipeline create --target-org my-devops-org --name "Release Pipeline" --repo \
133134 https://github.com/myorg/myrepo
134135
135- Create a pipeline and associate it with a new GitHub repository.
136+ Create a pipeline and associate it with a new GitHub repository:
136137
137138 $ sf devops pipeline create --target-org my-devops-org --name "Release Pipeline" --repo my-new-repo --repo-type \
138139 github --repo-owner myorg --create-repo
139140
140- Create a pipeline and create a new Bitbucket repository.
141+ Create a pipeline and create a new Bitbucket repository:
141142
142143 $ sf devops pipeline create --target-org my-devops-org --name "Release Pipeline" --repo my-new-repo --repo-type \
143144 bitbucket --bitbucket-workspace myworkspace --bitbucket-project-key PROJ --create-repo
144145
145- Create a pipeline with a description and associate it with an existing Bitbucket repository.
146+ Create a pipeline and associate it with an existing Bitbucket repository:
146147
147148 $ sf devops pipeline create --target-org my-devops-org --name "Release Pipeline" --repo \
148- https://bitbucket.org/myworkspace/myrepo --description "Main CI/CD pipeline for production releases"
149+ https://bitbucket.org/myworkspace/myrepo
150+
151+ Create a pipeline with custom stage names instead of the default stages:
152+
153+ $ sf devops pipeline create --target-org my-devops-org --name "Release Pipeline" --repo \
154+ https://github.com/myorg/myrepo --stage Dev --stage QA --stage Prod
149155```
150156
151- _ See code: [ src/commands/devops/pipeline/create.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/pipeline/create.ts ) _
157+ _ See code: [ src/commands/devops/pipeline/create.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/pipeline/create.ts ) _
152158
153159## ` sf devops pipeline get `
154160
@@ -180,7 +186,7 @@ EXAMPLES
180186 $ sf devops pipeline get --target-org my-devops-org --pipeline-id 0Do000000000001
181187```
182188
183- _ See code: [ src/commands/devops/pipeline/get.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/pipeline/get.ts ) _
189+ _ See code: [ src/commands/devops/pipeline/get.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/pipeline/get.ts ) _
184190
185191## ` sf devops pipeline list `
186192
@@ -211,7 +217,7 @@ EXAMPLES
211217 $ sf devops pipeline list --target-org my-devops-org
212218```
213219
214- _ See code: [ src/commands/devops/pipeline/list.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/pipeline/list.ts ) _
220+ _ See code: [ src/commands/devops/pipeline/list.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/pipeline/list.ts ) _
215221
216222## ` sf devops pipeline project add `
217223
@@ -245,7 +251,7 @@ EXAMPLES
245251 0Hn000000000001
246252```
247253
248- _ See code: [ src/commands/devops/pipeline/project/add.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/pipeline/project/add.ts ) _
254+ _ See code: [ src/commands/devops/pipeline/project/add.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/pipeline/project/add.ts ) _
249255
250256## ` sf devops pipeline project delete `
251257
@@ -279,7 +285,7 @@ EXAMPLES
279285 0Hn000000000001
280286```
281287
282- _ See code: [ src/commands/devops/pipeline/project/delete.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/pipeline/project/delete.ts ) _
288+ _ See code: [ src/commands/devops/pipeline/project/delete.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/pipeline/project/delete.ts ) _
283289
284290## ` sf devops pipeline stage add `
285291
@@ -320,7 +326,7 @@ EXAMPLES
320326 --next-stage-id 0Xc000000000003
321327```
322328
323- _ See code: [ src/commands/devops/pipeline/stage/add.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/pipeline/stage/add.ts ) _
329+ _ See code: [ src/commands/devops/pipeline/stage/add.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/pipeline/stage/add.ts ) _
324330
325331## ` sf devops pipeline stage delete `
326332
@@ -355,7 +361,7 @@ EXAMPLES
355361 0Xc000000000002
356362```
357363
358- _ See code: [ src/commands/devops/pipeline/stage/delete.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/pipeline/stage/delete.ts ) _
364+ _ See code: [ src/commands/devops/pipeline/stage/delete.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/pipeline/stage/delete.ts ) _
359365
360366## ` sf devops pipeline stage update `
361367
@@ -388,7 +394,7 @@ EXAMPLES
388394 $ sf devops pipeline stage update --target-org my-devops-org --stage-id 1QV000000000001 --name "Integration"
389395```
390396
391- _ See code: [ src/commands/devops/pipeline/stage/update.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/pipeline/stage/update.ts ) _
397+ _ See code: [ src/commands/devops/pipeline/stage/update.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/pipeline/stage/update.ts ) _
392398
393399## ` sf devops pipeline update `
394400
@@ -397,14 +403,15 @@ Update a DevOps Center pipeline.
397403```
398404USAGE
399405 $ sf devops pipeline update -o <value> --pipeline-id <value> [--json] [--flags-dir <value>] [--api-version <value>]
400- [--active ] [-n <value>]
406+ [--activate | --deactivate ] [-n <value>]
401407
402408FLAGS
403409 -n, --name=<value> New name for the pipeline.
404410 -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
405411 configuration variable is already set.
406- --[no-]active Activate the pipeline. Use --no-active to deactivate.
412+ --activate Activate the pipeline. Can't be used with -- deactivate.
407413 --api-version=<value> Override the api version used for api requests made by this command
414+ --deactivate Deactivate the pipeline. Can't be used with --activate.
408415 --pipeline-id=<value> (required) ID of the pipeline.
409416
410417GLOBAL FLAGS
@@ -414,24 +421,24 @@ GLOBAL FLAGS
414421DESCRIPTION
415422 Update a DevOps Center pipeline.
416423
417- Activate, deactivate, or rename a DevOps Center pipeline. Use --active to activate, --no-active to deactivate, and
418- --name to rename. You can combine --no-active and --name in one command.
424+ Activate, deactivate, or rename a DevOps Center pipeline. Use --activate to activate, --deactivate to deactivate, and
425+ --name to rename. You can combine --deactivate and --name in one command.
419426
420427 A pipeline must have at least one stage before you can activate it. You can't modify the pipeline stages after you
421428 activate and promote changes through it.
422429
423430EXAMPLES
424431 Activate a pipeline:
425432
426- $ sf devops pipeline update --target-org my-devops-org --pipeline-id 0XB000000000001 --active
433+ $ sf devops pipeline update --target-org my-devops-org --pipeline-id 0XB000000000001 --activate
427434
428435 Deactivate and rename in one step.
429436
430- $ sf devops pipeline update --target-org my-devops-org --pipeline-id 0XB000000000001 --no-active --name "My \
437+ $ sf devops pipeline update --target-org my-devops-org --pipeline-id 0XB000000000001 --deactivate --name "My \
431438 Pipeline"
432439```
433440
434- _ See code: [ src/commands/devops/pipeline/update.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/pipeline/update.ts ) _
441+ _ See code: [ src/commands/devops/pipeline/update.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/pipeline/update.ts ) _
435442
436443## ` sf devops project create `
437444
@@ -468,7 +475,7 @@ EXAMPLES
468475 update"
469476```
470477
471- _ See code: [ src/commands/devops/project/create.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/project/create.ts ) _
478+ _ See code: [ src/commands/devops/project/create.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/project/create.ts ) _
472479
473480## ` sf devops project list `
474481
@@ -503,7 +510,7 @@ EXAMPLES
503510 $ sf devops project list --target-org devops-center@example.com
504511```
505512
506- _ See code: [ src/commands/devops/project/list.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/project/list.ts ) _
513+ _ See code: [ src/commands/devops/project/list.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/project/list.ts ) _
507514
508515## ` sf devops project update `
509516
@@ -553,7 +560,7 @@ EXAMPLES
553560 --description "Archived" --no-is-active
554561```
555562
556- _ See code: [ src/commands/devops/project/update.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/project/update.ts ) _
563+ _ See code: [ src/commands/devops/project/update.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/project/update.ts ) _
557564
558565## ` sf devops promote `
559566
@@ -653,7 +660,7 @@ FLAG DESCRIPTIONS
653660 spaces.
654661```
655662
656- _ See code: [ src/commands/devops/promote.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/promote.ts ) _
663+ _ See code: [ src/commands/devops/promote.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/promote.ts ) _
657664
658665## ` sf devops promotion complete `
659666
@@ -736,7 +743,7 @@ FLAG DESCRIPTIONS
736743 spaces.
737744```
738745
739- _ See code: [ src/commands/devops/promotion/complete.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/promotion/complete.ts ) _
746+ _ See code: [ src/commands/devops/promotion/complete.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/promotion/complete.ts ) _
740747
741748## ` sf devops promotion validate `
742749
@@ -777,7 +784,7 @@ EXAMPLES
777784 1fk000000000001 --work-item-id 1fk000000000002
778785```
779786
780- _ See code: [ src/commands/devops/promotion/validate.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/promotion/validate.ts ) _
787+ _ See code: [ src/commands/devops/promotion/validate.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/promotion/validate.ts ) _
781788
782789## ` sf devops request status `
783790
@@ -808,7 +815,7 @@ EXAMPLES
808815 $ sf devops request status --target-org my-devops-org --request-token a0B000000000001
809816```
810817
811- _ See code: [ src/commands/devops/request/status.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/request/status.ts ) _
818+ _ See code: [ src/commands/devops/request/status.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/request/status.ts ) _
812819
813820## ` sf devops review create `
814821
@@ -845,7 +852,7 @@ EXAMPLES
845852 $ sf devops review create --target-org my-devops-org --work-item-id 0Wx000000000001
846853```
847854
848- _ See code: [ src/commands/devops/review/create.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/review/create.ts ) _
855+ _ See code: [ src/commands/devops/review/create.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/review/create.ts ) _
849856
850857## ` sf devops stage branch add `
851858
@@ -888,7 +895,7 @@ EXAMPLES
888895 --branch-name integration --create-vcs-branch
889896```
890897
891- _ See code: [ src/commands/devops/stage/branch/add.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/stage/branch/add.ts ) _
898+ _ See code: [ src/commands/devops/stage/branch/add.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/stage/branch/add.ts ) _
892899
893900## ` sf devops stage branch delete `
894901
@@ -926,7 +933,7 @@ EXAMPLES
926933 0Xp000000000001
927934```
928935
929- _ See code: [ src/commands/devops/stage/branch/delete.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/stage/branch/delete.ts ) _
936+ _ See code: [ src/commands/devops/stage/branch/delete.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/stage/branch/delete.ts ) _
930937
931938## ` sf devops stage environment add `
932939
@@ -966,7 +973,7 @@ EXAMPLES
966973 Production_Org --org-type Production
967974```
968975
969- _ See code: [ src/commands/devops/stage/environment/add.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/stage/environment/add.ts ) _
976+ _ See code: [ src/commands/devops/stage/environment/add.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/stage/environment/add.ts ) _
970977
971978## ` sf devops stage environment delete `
972979
@@ -1000,7 +1007,7 @@ EXAMPLES
10001007 0Xe000000000001
10011008```
10021009
1003- _ See code: [ src/commands/devops/stage/environment/delete.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/stage/environment/delete.ts ) _
1010+ _ See code: [ src/commands/devops/stage/environment/delete.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/stage/environment/delete.ts ) _
10041011
10051012## ` sf devops work-item combine `
10061013
@@ -1049,7 +1056,7 @@ FLAG DESCRIPTIONS
10491056 are merged into the parent's branch during promotion.
10501057```
10511058
1052- _ See code: [ src/commands/devops/work-item/combine.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/work-item/combine.ts ) _
1059+ _ See code: [ src/commands/devops/work-item/combine.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/work-item/combine.ts ) _
10531060
10541061## ` sf devops work-item create `
10551062
@@ -1090,7 +1097,7 @@ EXAMPLES
10901097 --description "Implement dark mode toggle in settings page"
10911098```
10921099
1093- _ See code: [ src/commands/devops/work-item/create.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/work-item/create.ts ) _
1100+ _ See code: [ src/commands/devops/work-item/create.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/work-item/create.ts ) _
10941101
10951102## ` sf devops work-item list `
10961103
@@ -1126,7 +1133,7 @@ EXAMPLES
11261133 $ sf devops work-item list --target-org my-devops-org --project-id 1Qg000000000001 --json
11271134```
11281135
1129- _ See code: [ src/commands/devops/work-item/list.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/work-item/list.ts ) _
1136+ _ See code: [ src/commands/devops/work-item/list.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/work-item/list.ts ) _
11301137
11311138## ` sf devops work-item prepare `
11321139
@@ -1167,7 +1174,7 @@ EXAMPLES
11671174 --target-stage-id 05S000000000002
11681175```
11691176
1170- _ See code: [ src/commands/devops/work-item/prepare.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/work-item/prepare.ts ) _
1177+ _ See code: [ src/commands/devops/work-item/prepare.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/work-item/prepare.ts ) _
11711178
11721179## ` sf devops work-item update `
11731180
@@ -1214,7 +1221,7 @@ EXAMPLES
12141221 --description "Users can't log in on mobile" --status "In Progress"
12151222```
12161223
1217- _ See code: [ src/commands/devops/work-item/update.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/devops/work-item/update.ts ) _
1224+ _ See code: [ src/commands/devops/work-item/update.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/devops/work-item/update.ts ) _
12181225
12191226## ` sf project deploy pipeline quick `
12201227
@@ -1288,7 +1295,7 @@ FLAG DESCRIPTIONS
12881295 "sf project deploy pipeline report".
12891296```
12901297
1291- _ See code: [ src/commands/project/deploy/pipeline/quick.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/project/deploy/pipeline/quick.ts ) _
1298+ _ See code: [ src/commands/project/deploy/pipeline/quick.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/project/deploy/pipeline/quick.ts ) _
12921299
12931300## ` sf project deploy pipeline report `
12941301
@@ -1336,7 +1343,7 @@ FLAG DESCRIPTIONS
13361343 your most recent operation was longer than 3 days ago, this flag won't find the job ID.
13371344```
13381345
1339- _ See code: [ src/commands/project/deploy/pipeline/report.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/project/deploy/pipeline/report.ts ) _
1346+ _ See code: [ src/commands/project/deploy/pipeline/report.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/project/deploy/pipeline/report.ts ) _
13401347
13411348## ` sf project deploy pipeline resume `
13421349
@@ -1403,7 +1410,7 @@ FLAG DESCRIPTIONS
14031410 returns the job ID. To check the status of the operation, run "sf project deploy pipeline report".
14041411```
14051412
1406- _ See code: [ src/commands/project/deploy/pipeline/resume.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/project/deploy/pipeline/resume.ts ) _
1413+ _ See code: [ src/commands/project/deploy/pipeline/resume.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/project/deploy/pipeline/resume.ts ) _
14071414
14081415## ` sf project deploy pipeline start `
14091416
@@ -1503,7 +1510,7 @@ FLAG DESCRIPTIONS
15031510 "sf project deploy pipeline report".
15041511```
15051512
1506- _ See code: [ src/commands/project/deploy/pipeline/start.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/project/deploy/pipeline/start.ts ) _
1513+ _ See code: [ src/commands/project/deploy/pipeline/start.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/project/deploy/pipeline/start.ts ) _
15071514
15081515## ` sf project deploy pipeline validate `
15091516
@@ -1603,7 +1610,7 @@ FLAG DESCRIPTIONS
16031610 "sf project deploy pipeline report".
16041611```
16051612
1606- _ See code: [ src/commands/project/deploy/pipeline/validate.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.0.1 /src/commands/project/deploy/pipeline/validate.ts ) _
1613+ _ See code: [ src/commands/project/deploy/pipeline/validate.ts] ( https://github.com/salesforcecli/plugin-devops-center/blob/2.1.0 /src/commands/project/deploy/pipeline/validate.ts ) _
16071614
16081615<!-- commandsstop -->
16091616
0 commit comments