@salesforce/plugin-devops-center 1.2.6 → 1.2.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.
@@ -1,476 +1,558 @@
1
1
  {
2
- "version": "1.2.6",
3
2
  "commands": {
4
3
  "project:deploy:pipeline:quick": {
5
- "id": "project:deploy:pipeline:quick",
6
- "summary": "Quickly deploy a validated deployment to an org.",
7
- "description": "Before you run this command, first create a validated deployment with the \"sf project deploy pipeline validate\" command, which returns a job ID. Validated deployments haven't been deployed to the org yet; you deploy them with this command. Either pass the job ID to this command or use the --use-most-recent flag to use the job ID of the most recently validated deployment. For the quick deploy to succeed, the associated validated deployment must also have succeeded.\n\nExecuting this quick deploy command takes less time than a standard deploy because it skips running Apex tests. These tests were previously run as part of the validation. Validating first and then running a quick deploy is useful if the deployment to your production org take several hours and you don’t want to risk a failed deploy.\n\nThis command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org.",
8
- "strict": true,
9
- "pluginName": "@salesforce/plugin-devops-center",
10
- "pluginAlias": "@salesforce/plugin-devops-center",
11
- "pluginType": "core",
12
- "state": "beta",
13
4
  "aliases": [],
5
+ "args": {},
6
+ "description": "Before you run this command, first create a validated deployment with the \"sf project deploy pipeline validate\" command, which returns a job ID. Validated deployments haven't been deployed to the org yet; you deploy them with this command. Either pass the job ID to this command or use the --use-most-recent flag to use the job ID of the most recently validated deployment. For the quick deploy to succeed, the associated validated deployment must also have succeeded.\n\nExecuting this quick deploy command takes less time than a standard deploy because it skips running Apex tests. These tests were previously run as part of the validation. Validating first and then running a quick deploy is useful if the deployment to your production org take several hours and you don’t want to risk a failed deploy.\n\nThis command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org.",
14
7
  "examples": [
15
8
  "Run a quick deploy using your default Devops Center org and a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
16
9
  "Asynchronously run a quick deploy of the most recently validated deployment using an org with alias \"my-prod-org\":\n<%= config.bin %> <%= command.id %> --async --use-most-recent --devops-center-username my-prod-org"
17
10
  ],
18
11
  "flags": {
19
12
  "json": {
20
- "name": "json",
21
- "type": "boolean",
22
13
  "description": "Format output as json.",
23
14
  "helpGroup": "GLOBAL",
24
- "allowNo": false
15
+ "name": "json",
16
+ "allowNo": false,
17
+ "type": "boolean"
25
18
  },
26
19
  "async": {
20
+ "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
27
21
  "name": "async",
28
- "type": "boolean",
29
22
  "summary": "Run the command asynchronously.",
30
- "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
31
- "allowNo": false
23
+ "allowNo": false,
24
+ "type": "boolean"
32
25
  },
33
26
  "concise": {
27
+ "exclusive": [
28
+ "verbose"
29
+ ],
34
30
  "name": "concise",
35
- "type": "boolean",
36
31
  "summary": "Show concise output of the command result.",
37
32
  "allowNo": false,
38
- "exclusive": [
39
- "verbose"
40
- ]
33
+ "type": "boolean"
41
34
  },
42
35
  "verbose": {
43
36
  "name": "verbose",
44
- "type": "boolean",
45
37
  "summary": "Show verbose output of the command result.",
46
- "allowNo": false
38
+ "allowNo": false,
39
+ "type": "boolean"
47
40
  },
48
41
  "wait": {
49
- "name": "wait",
50
- "type": "option",
51
42
  "char": "w",
52
- "summary": "Number of minutes to wait for command to complete and display results.",
53
43
  "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run \"<%= config.bin %> <%= command.id.split(' ').slice(0, -1).join(' ') %> report\".",
54
- "helpValue": "<minutes>",
55
- "multiple": false,
56
44
  "exclusive": [
57
45
  "async"
58
46
  ],
47
+ "name": "wait",
48
+ "summary": "Number of minutes to wait for command to complete and display results.",
59
49
  "default": {
60
50
  "quantity": 33,
61
51
  "unit": 0
62
- }
52
+ },
53
+ "hasDynamicHelp": false,
54
+ "helpValue": "<minutes>",
55
+ "multiple": false,
56
+ "type": "option"
63
57
  },
64
58
  "devops-center-username": {
65
- "name": "devops-center-username",
66
- "type": "option",
67
59
  "char": "c",
68
- "summary": "Username or alias of the DevOps Center org.",
60
+ "name": "devops-center-username",
69
61
  "required": true,
70
- "multiple": false
62
+ "summary": "Username or alias of the DevOps Center org.",
63
+ "hasDynamicHelp": true,
64
+ "multiple": false,
65
+ "type": "option"
71
66
  },
72
67
  "job-id": {
73
- "name": "job-id",
74
- "type": "option",
75
68
  "char": "i",
76
- "summary": "Job ID of the validated deployment to quick deploy.",
77
69
  "description": "The job ID is valid for 10 days from when you started the validation.",
78
- "multiple": false
70
+ "name": "job-id",
71
+ "summary": "Job ID of the validated deployment to quick deploy.",
72
+ "hasDynamicHelp": false,
73
+ "multiple": false,
74
+ "type": "option"
79
75
  },
80
76
  "use-most-recent": {
81
- "name": "use-most-recent",
82
- "type": "boolean",
83
77
  "char": "r",
84
- "summary": "Use the job ID of the most recently validated deployment.",
85
78
  "description": "For performance reasons, this flag uses only job IDs that were validated in the past 3 days or less. If your most recent deployment validation was more than 3 days ago, this flag won't find the job ID.",
86
- "allowNo": false
79
+ "name": "use-most-recent",
80
+ "summary": "Use the job ID of the most recently validated deployment.",
81
+ "allowNo": false,
82
+ "type": "boolean"
87
83
  }
88
84
  },
89
- "args": {},
90
- "hasDynamicHelp": true
91
- },
92
- "project:deploy:pipeline:report": {
93
- "id": "project:deploy:pipeline:report",
94
- "summary": "Check the status of a pipeline deploy operation.",
95
- "description": "Run this command by either indicating a job ID or specifying the —use-most-recent flag to use the job ID of the most recent deploy operation.",
96
- "strict": true,
97
- "pluginName": "@salesforce/plugin-devops-center",
85
+ "hasDynamicHelp": true,
86
+ "hiddenAliases": [],
87
+ "id": "project:deploy:pipeline:quick",
98
88
  "pluginAlias": "@salesforce/plugin-devops-center",
89
+ "pluginName": "@salesforce/plugin-devops-center",
99
90
  "pluginType": "core",
100
91
  "state": "beta",
92
+ "strict": true,
93
+ "summary": "Quickly deploy a validated deployment to an org.",
94
+ "enableJsonFlag": true,
95
+ "SF_ENV": "SF_ENV",
96
+ "isESM": false,
97
+ "relativePath": [
98
+ "lib",
99
+ "commands",
100
+ "project",
101
+ "deploy",
102
+ "pipeline",
103
+ "quick.js"
104
+ ]
105
+ },
106
+ "project:deploy:pipeline:report": {
101
107
  "aliases": [],
108
+ "args": {},
109
+ "description": "Run this command by either indicating a job ID or specifying the —use-most-recent flag to use the job ID of the most recent deploy operation.",
102
110
  "examples": [
103
111
  "Check the status using a job ID:\n<%= config.bin %> <%= command.id %> --devops-center-username MyStagingSandbox --job-id 0Af0x000017yLUFCA2",
104
112
  "Check the status of the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --devops-center-username MyStagingSandbox --use-most-recent"
105
113
  ],
106
114
  "flags": {
107
115
  "json": {
108
- "name": "json",
109
- "type": "boolean",
110
116
  "description": "Format output as json.",
111
117
  "helpGroup": "GLOBAL",
112
- "allowNo": false
118
+ "name": "json",
119
+ "allowNo": false,
120
+ "type": "boolean"
113
121
  },
114
122
  "devops-center-username": {
115
- "name": "devops-center-username",
116
- "type": "option",
117
123
  "char": "c",
118
- "summary": "Username or alias of the DevOps Center org.",
124
+ "name": "devops-center-username",
119
125
  "required": true,
120
- "multiple": false
126
+ "summary": "Username or alias of the DevOps Center org.",
127
+ "hasDynamicHelp": true,
128
+ "multiple": false,
129
+ "type": "option"
121
130
  },
122
131
  "job-id": {
123
- "name": "job-id",
124
- "type": "option",
125
132
  "char": "i",
126
- "summary": "Job ID of the pipeline deployment to check the status of.",
127
133
  "description": "The job ID is valid for 10 days from when you started the deploy operation.",
128
- "multiple": false
134
+ "name": "job-id",
135
+ "summary": "Job ID of the pipeline deployment to check the status of.",
136
+ "hasDynamicHelp": false,
137
+ "multiple": false,
138
+ "type": "option"
129
139
  },
130
140
  "use-most-recent": {
131
- "name": "use-most-recent",
132
- "type": "boolean",
133
141
  "char": "r",
134
- "summary": "Use the job ID of the most recent deploy operation.",
135
142
  "description": "For performance reasons, this flag uses job IDs for deploy operations that started in the past 3 days or fewer. If your most recent operation was longer than 3 days ago, this flag won't find the job ID.",
136
- "allowNo": false
143
+ "name": "use-most-recent",
144
+ "summary": "Use the job ID of the most recent deploy operation.",
145
+ "allowNo": false,
146
+ "type": "boolean"
137
147
  }
138
148
  },
139
- "args": {},
140
- "hasDynamicHelp": true
141
- },
142
- "project:deploy:pipeline:resume": {
143
- "id": "project:deploy:pipeline:resume",
144
- "summary": "Resume watching a pipeline deploy operation.",
145
- "description": "Use this command to resume watching a pipeline deploy operation if the original command times out or you specified the --async flag.\n\nRun this command by either indicating a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.",
146
- "strict": true,
147
- "pluginName": "@salesforce/plugin-devops-center",
149
+ "hasDynamicHelp": true,
150
+ "hiddenAliases": [],
151
+ "id": "project:deploy:pipeline:report",
148
152
  "pluginAlias": "@salesforce/plugin-devops-center",
153
+ "pluginName": "@salesforce/plugin-devops-center",
149
154
  "pluginType": "core",
150
155
  "state": "beta",
156
+ "strict": true,
157
+ "summary": "Check the status of a pipeline deploy operation.",
158
+ "enableJsonFlag": true,
159
+ "SF_ENV": "SF_ENV",
160
+ "isESM": false,
161
+ "relativePath": [
162
+ "lib",
163
+ "commands",
164
+ "project",
165
+ "deploy",
166
+ "pipeline",
167
+ "report.js"
168
+ ]
169
+ },
170
+ "project:deploy:pipeline:resume": {
151
171
  "aliases": [],
172
+ "args": {},
173
+ "description": "Use this command to resume watching a pipeline deploy operation if the original command times out or you specified the --async flag.\n\nRun this command by either indicating a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.",
152
174
  "examples": [
153
175
  "Resume watching a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
154
176
  "Resume watching the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
155
177
  ],
156
178
  "flags": {
157
179
  "json": {
158
- "name": "json",
159
- "type": "boolean",
160
180
  "description": "Format output as json.",
161
181
  "helpGroup": "GLOBAL",
162
- "allowNo": false
182
+ "name": "json",
183
+ "allowNo": false,
184
+ "type": "boolean"
163
185
  },
164
186
  "devops-center-username": {
165
- "name": "devops-center-username",
166
- "type": "option",
167
187
  "char": "c",
168
- "summary": "Username or alias of the DevOps Center org.",
188
+ "name": "devops-center-username",
169
189
  "required": true,
170
- "multiple": false
190
+ "summary": "Username or alias of the DevOps Center org.",
191
+ "hasDynamicHelp": true,
192
+ "multiple": false,
193
+ "type": "option"
171
194
  },
172
195
  "job-id": {
173
- "name": "job-id",
174
- "type": "option",
175
196
  "char": "i",
176
- "summary": "Job ID of the pipeline deploy operation you want to resume.",
177
197
  "description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- sf project deploy pipeline start\n- sf project deploy pipeline validate\n- sf project deploy pipeline quick\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
178
- "multiple": false
198
+ "name": "job-id",
199
+ "summary": "Job ID of the pipeline deploy operation you want to resume.",
200
+ "hasDynamicHelp": false,
201
+ "multiple": false,
202
+ "type": "option"
179
203
  },
180
204
  "use-most-recent": {
181
- "name": "use-most-recent",
182
- "type": "boolean",
183
205
  "char": "r",
184
- "summary": "Use the job ID of the most recent deploy operation.",
185
206
  "description": "For performance reasons, this flag uses job IDs for operations that started in the past 3 days or fewer. If your most recent operation was longer than 3 days ago, this flag won't find a job ID.",
186
- "allowNo": false
207
+ "name": "use-most-recent",
208
+ "summary": "Use the job ID of the most recent deploy operation.",
209
+ "allowNo": false,
210
+ "type": "boolean"
187
211
  },
188
212
  "concise": {
213
+ "exclusive": [
214
+ "verbose"
215
+ ],
189
216
  "name": "concise",
190
- "type": "boolean",
191
217
  "summary": "Show concise output of the command result.",
192
218
  "allowNo": false,
193
- "exclusive": [
194
- "verbose"
195
- ]
219
+ "type": "boolean"
196
220
  },
197
221
  "verbose": {
198
222
  "name": "verbose",
199
- "type": "boolean",
200
223
  "summary": "Show verbose output of the command result.",
201
- "allowNo": false
224
+ "allowNo": false,
225
+ "type": "boolean"
202
226
  },
203
227
  "wait": {
204
- "name": "wait",
205
- "type": "option",
206
228
  "char": "w",
207
- "summary": "Number of minutes to wait for command to complete and display results.",
208
229
  "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run \"<%= config.bin %> <%= command.id.split(' ').slice(0, -1).join(' ') %> report\".",
209
- "helpValue": "<minutes>",
210
- "multiple": false,
211
230
  "exclusive": [
212
231
  "async"
213
232
  ],
233
+ "name": "wait",
234
+ "summary": "Number of minutes to wait for command to complete and display results.",
214
235
  "default": {
215
236
  "quantity": 33,
216
237
  "unit": 0
217
- }
238
+ },
239
+ "hasDynamicHelp": false,
240
+ "helpValue": "<minutes>",
241
+ "multiple": false,
242
+ "type": "option"
218
243
  }
219
244
  },
220
- "args": {},
221
- "hasDynamicHelp": true
222
- },
223
- "project:deploy:pipeline:start": {
224
- "id": "project:deploy:pipeline:start",
225
- "summary": "Deploy changes from a branch to the pipeline stage’s org.",
226
- "description": "Before you run this command, changes in the pipeline stage's branch must be merged in the source control repository.",
227
- "strict": true,
228
- "pluginName": "@salesforce/plugin-devops-center",
245
+ "hasDynamicHelp": true,
246
+ "hiddenAliases": [],
247
+ "id": "project:deploy:pipeline:resume",
229
248
  "pluginAlias": "@salesforce/plugin-devops-center",
249
+ "pluginName": "@salesforce/plugin-devops-center",
230
250
  "pluginType": "core",
231
251
  "state": "beta",
252
+ "strict": true,
253
+ "summary": "Resume watching a pipeline deploy operation.",
254
+ "enableJsonFlag": true,
255
+ "SF_ENV": "SF_ENV",
256
+ "isESM": false,
257
+ "relativePath": [
258
+ "lib",
259
+ "commands",
260
+ "project",
261
+ "deploy",
262
+ "pipeline",
263
+ "resume.js"
264
+ ]
265
+ },
266
+ "project:deploy:pipeline:start": {
232
267
  "aliases": [],
268
+ "args": {},
269
+ "description": "Before you run this command, changes in the pipeline stage's branch must be merged in the source control repository.",
233
270
  "examples": [
234
271
  "Deploy changes in the Staging branch to the Staging environment (sandbox), if the previous stage is the bundling stage:\n<%= config.bin %> <%= command.id %> --devops-center-project-name “Recruiting App” --branch-name staging --devops-center-username MyStagingSandbox --bundle-version-name 1.0",
235
272
  "Deploy all changes in the main branch to the release environment:\n<%= config.bin %> <%= command.id %> --devops-center-project-name “Recruiting App” --branch-name main --devops-center-username MyReleaseOrg --deploy-all"
236
273
  ],
237
274
  "flags": {
238
275
  "json": {
239
- "name": "json",
240
- "type": "boolean",
241
276
  "description": "Format output as json.",
242
277
  "helpGroup": "GLOBAL",
243
- "allowNo": false
278
+ "name": "json",
279
+ "allowNo": false,
280
+ "type": "boolean"
244
281
  },
245
282
  "branch-name": {
246
- "name": "branch-name",
247
- "type": "option",
248
283
  "char": "b",
249
- "summary": "Name of the branch in the source control repository that corresponds to the pipeline stage that you want to deploy the changes to.",
284
+ "name": "branch-name",
250
285
  "required": true,
251
- "multiple": false
286
+ "summary": "Name of the branch in the source control repository that corresponds to the pipeline stage that you want to deploy the changes to.",
287
+ "hasDynamicHelp": false,
288
+ "multiple": false,
289
+ "type": "option"
252
290
  },
253
291
  "bundle-version-name": {
254
- "name": "bundle-version-name",
255
- "type": "option",
256
292
  "char": "v",
257
- "summary": "Version name of the bundle.",
258
293
  "description": "You must indicate the bundle version if deploying to the environment that corresponds to the first stage after the bundling stage.",
259
- "multiple": false
294
+ "name": "bundle-version-name",
295
+ "summary": "Version name of the bundle.",
296
+ "hasDynamicHelp": false,
297
+ "multiple": false,
298
+ "type": "option"
260
299
  },
261
300
  "deploy-all": {
262
- "name": "deploy-all",
263
- "type": "boolean",
264
301
  "char": "a",
265
- "summary": "Deploy all metadata in the branch to the stage's org.",
266
302
  "description": "If you don’t specify this flag, only changes in the stage’s branch are deployed.",
267
- "allowNo": false
303
+ "name": "deploy-all",
304
+ "summary": "Deploy all metadata in the branch to the stage's org.",
305
+ "allowNo": false,
306
+ "type": "boolean"
268
307
  },
269
308
  "devops-center-project-name": {
270
- "name": "devops-center-project-name",
271
- "type": "option",
272
309
  "char": "p",
273
- "summary": "Name of the DevOps Center project.",
310
+ "name": "devops-center-project-name",
274
311
  "required": true,
275
- "multiple": false
312
+ "summary": "Name of the DevOps Center project.",
313
+ "hasDynamicHelp": false,
314
+ "multiple": false,
315
+ "type": "option"
276
316
  },
277
317
  "devops-center-username": {
278
- "name": "devops-center-username",
279
- "type": "option",
280
318
  "char": "c",
281
- "summary": "Username or alias of the DevOps Center org.",
319
+ "name": "devops-center-username",
282
320
  "required": true,
283
- "multiple": false
321
+ "summary": "Username or alias of the DevOps Center org.",
322
+ "hasDynamicHelp": true,
323
+ "multiple": false,
324
+ "type": "option"
284
325
  },
285
326
  "tests": {
286
- "name": "tests",
287
- "type": "option",
288
327
  "char": "t",
289
- "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
290
328
  "description": "Separate multiple test names with commas. Enclose the entire flag value in double quotes if a test name contains spaces.",
291
- "multiple": true
329
+ "name": "tests",
330
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
331
+ "hasDynamicHelp": false,
332
+ "multiple": true,
333
+ "type": "option"
292
334
  },
293
335
  "test-level": {
294
- "name": "test-level",
295
- "type": "option",
296
336
  "char": "l",
297
- "summary": "Deployment Apex testing level.",
298
337
  "description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see [Running Tests in a Deployment](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
338
+ "name": "test-level",
339
+ "summary": "Deployment Apex testing level.",
340
+ "hasDynamicHelp": false,
299
341
  "multiple": false,
300
342
  "options": [
301
343
  "NoTestRun",
302
344
  "RunSpecifiedTests",
303
345
  "RunLocalTests",
304
346
  "RunAllTestsInOrg"
305
- ]
347
+ ],
348
+ "type": "option"
306
349
  },
307
350
  "async": {
351
+ "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
308
352
  "name": "async",
309
- "type": "boolean",
310
353
  "summary": "Run the command asynchronously.",
311
- "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
312
- "allowNo": false
354
+ "allowNo": false,
355
+ "type": "boolean"
313
356
  },
314
357
  "wait": {
315
- "name": "wait",
316
- "type": "option",
317
358
  "char": "w",
318
- "summary": "Number of minutes to wait for command to complete and display results.",
319
359
  "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run \"<%= config.bin %> <%= command.id.split(' ').slice(0, -1).join(' ') %> report\".",
320
- "helpValue": "<minutes>",
321
- "multiple": false,
322
360
  "exclusive": [
323
361
  "async"
324
362
  ],
363
+ "name": "wait",
364
+ "summary": "Number of minutes to wait for command to complete and display results.",
325
365
  "default": {
326
366
  "quantity": 33,
327
367
  "unit": 0
328
- }
368
+ },
369
+ "hasDynamicHelp": false,
370
+ "helpValue": "<minutes>",
371
+ "multiple": false,
372
+ "type": "option"
329
373
  },
330
374
  "verbose": {
331
375
  "name": "verbose",
332
- "type": "boolean",
333
376
  "summary": "Show verbose output of the command result.",
334
- "allowNo": false
377
+ "allowNo": false,
378
+ "type": "boolean"
335
379
  },
336
380
  "concise": {
381
+ "exclusive": [
382
+ "verbose"
383
+ ],
337
384
  "name": "concise",
338
- "type": "boolean",
339
385
  "summary": "Show concise output of the command result.",
340
386
  "allowNo": false,
341
- "exclusive": [
342
- "verbose"
343
- ]
387
+ "type": "boolean"
344
388
  }
345
389
  },
346
- "args": {},
347
- "hasDynamicHelp": true
348
- },
349
- "project:deploy:pipeline:validate": {
350
- "id": "project:deploy:pipeline:validate",
351
- "summary": "Perform a validate-only deployment from a branch to the pipeline stage’s org.",
352
- "description": "A validation runs Apex tests to verify whether a deployment will succeed without actually deploying the metadata to your environment, so you can then quickly deploy the changes later without re-running the tests.",
353
- "strict": true,
354
- "pluginName": "@salesforce/plugin-devops-center",
390
+ "hasDynamicHelp": true,
391
+ "hiddenAliases": [],
392
+ "id": "project:deploy:pipeline:start",
355
393
  "pluginAlias": "@salesforce/plugin-devops-center",
394
+ "pluginName": "@salesforce/plugin-devops-center",
356
395
  "pluginType": "core",
357
396
  "state": "beta",
397
+ "strict": true,
398
+ "summary": "Deploy changes from a branch to the pipeline stage’s org.",
399
+ "enableJsonFlag": true,
400
+ "SF_ENV": "SF_ENV",
401
+ "isESM": false,
402
+ "relativePath": [
403
+ "lib",
404
+ "commands",
405
+ "project",
406
+ "deploy",
407
+ "pipeline",
408
+ "start.js"
409
+ ]
410
+ },
411
+ "project:deploy:pipeline:validate": {
358
412
  "aliases": [],
413
+ "args": {},
414
+ "description": "A validation runs Apex tests to verify whether a deployment will succeed without actually deploying the metadata to your environment, so you can then quickly deploy the changes later without re-running the tests.",
359
415
  "examples": [
360
416
  "Perform a validate-only deployment from the Staging branch to the Staging environment (sandbox):\n<%= config.bin %> <%= command.id %> --devops-center-project-name “Recruiting App” --branch-name staging --devops-center-username MyStagingSandbox",
361
417
  "Perform a validate-only deployment of all changes from the main branch to the release environment:\n<%= config.bin %> <%= command.id %> --devops-center-project-name “Recruiting App” --branch-name main --devops-center-username MyReleaseOrg --deploy-all"
362
418
  ],
363
419
  "flags": {
364
420
  "json": {
365
- "name": "json",
366
- "type": "boolean",
367
421
  "description": "Format output as json.",
368
422
  "helpGroup": "GLOBAL",
369
- "allowNo": false
423
+ "name": "json",
424
+ "allowNo": false,
425
+ "type": "boolean"
370
426
  },
371
427
  "branch-name": {
372
- "name": "branch-name",
373
- "type": "option",
374
428
  "char": "b",
375
- "summary": "Name of the branch in the source control repository that corresponds to the pipeline stage that you want to deploy the changes to.",
429
+ "name": "branch-name",
376
430
  "required": true,
377
- "multiple": false
431
+ "summary": "Name of the branch in the source control repository that corresponds to the pipeline stage that you want to deploy the changes to.",
432
+ "hasDynamicHelp": false,
433
+ "multiple": false,
434
+ "type": "option"
378
435
  },
379
436
  "bundle-version-name": {
380
- "name": "bundle-version-name",
381
- "type": "option",
382
437
  "char": "v",
383
- "summary": "Version name of the bundle.",
384
438
  "description": "You must indicate the bundle version if deploying to the environment that corresponds to the first stage after the bundling stage.",
385
- "multiple": false
439
+ "name": "bundle-version-name",
440
+ "summary": "Version name of the bundle.",
441
+ "hasDynamicHelp": false,
442
+ "multiple": false,
443
+ "type": "option"
386
444
  },
387
445
  "deploy-all": {
388
- "name": "deploy-all",
389
- "type": "boolean",
390
446
  "char": "a",
391
- "summary": "Deploy all metadata in the branch to the stage's org.",
392
447
  "description": "If you don’t specify this flag, only changes in the stage’s branch are deployed.",
393
- "allowNo": false
448
+ "name": "deploy-all",
449
+ "summary": "Deploy all metadata in the branch to the stage's org.",
450
+ "allowNo": false,
451
+ "type": "boolean"
394
452
  },
395
453
  "devops-center-project-name": {
396
- "name": "devops-center-project-name",
397
- "type": "option",
398
454
  "char": "p",
399
- "summary": "Name of the DevOps Center project.",
455
+ "name": "devops-center-project-name",
400
456
  "required": true,
401
- "multiple": false
457
+ "summary": "Name of the DevOps Center project.",
458
+ "hasDynamicHelp": false,
459
+ "multiple": false,
460
+ "type": "option"
402
461
  },
403
462
  "devops-center-username": {
404
- "name": "devops-center-username",
405
- "type": "option",
406
463
  "char": "c",
407
- "summary": "Username or alias of the DevOps Center org.",
464
+ "name": "devops-center-username",
408
465
  "required": true,
409
- "multiple": false
466
+ "summary": "Username or alias of the DevOps Center org.",
467
+ "hasDynamicHelp": true,
468
+ "multiple": false,
469
+ "type": "option"
410
470
  },
411
471
  "tests": {
412
- "name": "tests",
413
- "type": "option",
414
472
  "char": "t",
415
- "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
416
473
  "description": "Separate multiple test names with commas. Enclose the entire flag value in double quotes if a test name contains spaces.",
417
- "multiple": true
474
+ "name": "tests",
475
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
476
+ "hasDynamicHelp": false,
477
+ "multiple": true,
478
+ "type": "option"
418
479
  },
419
480
  "test-level": {
420
- "name": "test-level",
421
- "type": "option",
422
481
  "char": "l",
423
- "summary": "Deployment Apex testing level.",
424
482
  "description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see [Running Tests in a Deployment](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
483
+ "name": "test-level",
484
+ "summary": "Deployment Apex testing level.",
485
+ "hasDynamicHelp": false,
425
486
  "multiple": false,
426
487
  "options": [
427
488
  "NoTestRun",
428
489
  "RunSpecifiedTests",
429
490
  "RunLocalTests",
430
491
  "RunAllTestsInOrg"
431
- ]
492
+ ],
493
+ "type": "option"
432
494
  },
433
495
  "async": {
496
+ "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
434
497
  "name": "async",
435
- "type": "boolean",
436
498
  "summary": "Run the command asynchronously.",
437
- "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
438
- "allowNo": false
499
+ "allowNo": false,
500
+ "type": "boolean"
439
501
  },
440
502
  "wait": {
441
- "name": "wait",
442
- "type": "option",
443
503
  "char": "w",
444
- "summary": "Number of minutes to wait for command to complete and display results.",
445
504
  "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run \"<%= config.bin %> <%= command.id.split(' ').slice(0, -1).join(' ') %> report\".",
446
- "helpValue": "<minutes>",
447
- "multiple": false,
448
505
  "exclusive": [
449
506
  "async"
450
507
  ],
508
+ "name": "wait",
509
+ "summary": "Number of minutes to wait for command to complete and display results.",
451
510
  "default": {
452
511
  "quantity": 33,
453
512
  "unit": 0
454
- }
513
+ },
514
+ "hasDynamicHelp": false,
515
+ "helpValue": "<minutes>",
516
+ "multiple": false,
517
+ "type": "option"
455
518
  },
456
519
  "verbose": {
457
520
  "name": "verbose",
458
- "type": "boolean",
459
521
  "summary": "Show verbose output of the command result.",
460
- "allowNo": false
522
+ "allowNo": false,
523
+ "type": "boolean"
461
524
  },
462
525
  "concise": {
526
+ "exclusive": [
527
+ "verbose"
528
+ ],
463
529
  "name": "concise",
464
- "type": "boolean",
465
530
  "summary": "Show concise output of the command result.",
466
531
  "allowNo": false,
467
- "exclusive": [
468
- "verbose"
469
- ]
532
+ "type": "boolean"
470
533
  }
471
534
  },
472
- "args": {},
473
- "hasDynamicHelp": true
535
+ "hasDynamicHelp": true,
536
+ "hiddenAliases": [],
537
+ "id": "project:deploy:pipeline:validate",
538
+ "pluginAlias": "@salesforce/plugin-devops-center",
539
+ "pluginName": "@salesforce/plugin-devops-center",
540
+ "pluginType": "core",
541
+ "state": "beta",
542
+ "strict": true,
543
+ "summary": "Perform a validate-only deployment from a branch to the pipeline stage’s org.",
544
+ "enableJsonFlag": true,
545
+ "SF_ENV": "SF_ENV",
546
+ "isESM": false,
547
+ "relativePath": [
548
+ "lib",
549
+ "commands",
550
+ "project",
551
+ "deploy",
552
+ "pipeline",
553
+ "validate.js"
554
+ ]
474
555
  }
475
- }
556
+ },
557
+ "version": "1.2.8"
476
558
  }