You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: CONFIGDOC.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,11 +55,11 @@ If you use a source code management (SCM) system such as Git™, then your p
55
55
#### Run MATLAB Build
56
56
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.
57
57
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.
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.
63
63
64
64
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).
65
65
@@ -234,7 +234,7 @@ The `runMATLABBuild` step accepts an optional input. Use this input to specify t
234
234
235
235
Input | Description
236
236
------------------------- | ---------------
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'`
238
238
239
239
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.
240
240
@@ -261,7 +261,7 @@ node {
261
261
}
262
262
```
263
263
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.
265
265
266
266
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).
267
267
@@ -525,4 +525,4 @@ pipeline {
525
525
526
526
## See Also
527
527
*[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