Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 4f12823

Browse files
authored
Merge pull request #233 from mathworks/mw-hrastega-patch-1
replacing task with tasks
2 parents 4357305 + 97c2bdc commit 4f12823

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CONFIGDOC.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ If you use a source code management (SCM) system such as Git™, then your p
5555
#### Run MATLAB Build
5656
The **Run MATLAB Build** step lets you run a build using the [MATLAB build tool](https://www.mathworks.com/help/matlab/matlab_prog/overview-of-matlab-build-tool.html). You can use this step to run the tasks specified in a file named `buildfile.m` in the root of your repository. To use the **Run MATLAB Build** step, you need MATLAB R2022b or a later release.
5757

58-
Specify the task you want to execute in the **Tasks** box. If you specify more than one task, use a space to separate them. If you do not specify any tasks, the plugin runs the default tasks in `buildfile.m` as well as all the tasks on which they depend. For example, run a task named `mytask` as well as all the tasks on which it depends.
58+
Specify the tasks you want to execute in the **Tasks** box. If you specify more than one task, use a space to separate them. If you do not specify any tasks, the plugin runs the default tasks in `buildfile.m` as well as all the tasks on which they depend. For example, run a task named `mytask` as well as all the tasks on which it depends.
5959

6060
![run_matlab_build](https://user-images.githubusercontent.com/48831250/217647265-38b0530f-f9f4-43a7-91ef-719e8d0a545e.png)
6161

62-
MATLAB exits with exit code 0 if the specified task runs successfully. Otherwise, MATLAB terminates with a nonzero exit code, which causes the Jenkins build to fail.
62+
MATLAB exits with exit code 0 if the specified tasks run successfully. Otherwise, MATLAB terminates with a nonzero exit code, which causes the Jenkins build to fail.
6363

6464
When you use this step, a file named `buildfile.m` must be in the root of your repository. For more information about the build tool, see [Create and Run Tasks Using Build Tool](https://www.mathworks.com/help/matlab/matlab_prog/create-and-run-tasks-using-build-tool.html).
6565

@@ -234,7 +234,7 @@ The `runMATLABBuild` step accepts an optional input. Use this input to specify t
234234

235235
Input | Description
236236
------------------------- | ---------------
237-
`tasks` | (Optional) Task to execute. If you specify more than one task, use a space to separate them.<br/>**Example:** `'mytask'`<br/>**Example:** `'compile test'`
237+
`tasks` | (Optional) Tasks to execute. If you specify more than one task, use a space to separate them.<br/>**Example:** `'mytask'`<br/>**Example:** `'compile test'`
238238

239239
For example, in your `Jenkinsfile`, define a declarative pipeline to run a task named `mytask` as well as all the tasks on which it depends.
240240

@@ -261,7 +261,7 @@ node {
261261
}
262262
```
263263

264-
MATLAB exits with exit code 0 if the specified task runs successfully. Otherwise, MATLAB terminates with a nonzero exit code, which causes the stage to fail.
264+
MATLAB exits with exit code 0 if the specified tasks run successfully. Otherwise, MATLAB terminates with a nonzero exit code, which causes the stage to fail.
265265

266266
When you use this step, a file named `buildfile.m` must be in the root of your repository. For more information about the build tool, see [Create and Run Tasks Using Build Tool](https://www.mathworks.com/help/matlab/matlab_prog/create-and-run-tasks-using-build-tool.html).
267267

@@ -525,4 +525,4 @@ pipeline {
525525

526526
## See Also
527527
* [Run MATLAB Tests on Jenkins Server](examples/Run-MATLAB-Tests.md)<br/>
528-
* [Continuous Integration with MATLAB and Simulink](https://www.mathworks.com/solutions/continuous-integration.html)
528+
* [Continuous Integration with MATLAB and Simulink](https://www.mathworks.com/solutions/continuous-integration.html)

0 commit comments

Comments
 (0)