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
Copy file name to clipboardExpand all lines: CONFIGDOC.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -486,22 +486,22 @@ You can access the results of running a MATLAB build and the results of running
486
486
### View Build Results
487
487
Starting in R2024a, if you run a MATLAB build using the **Run MATLAB Build** or `runMATLABBuild` step, you can view the MATLAB build results in your Jenkins interface. After your build runs, the Jenkins build summary page displays the number of tasks that ran, failed, and were skipped. You can click the **MATLAB Build Results** link on the page to access the table of task results. The table provides information about each task that was part of the MATLAB build. Click a task name in the table to go to the relevant build log information on the **Console Output** page.
488
488
489
-

489
+
<imgwidth="1920"height="522"alt="Table of MATLAB build results including three tasks. Each table row includes a clickable task name, its status, description, and duration."src="https://github.com/user-attachments/assets/72089445-df56-43be-a41a-86feedac603e" />
490
490
491
491
### View Test Results
492
-
Starting in R2024b, if you have a MATLAB Test™ license, you can view your MATLAB and Simulink test results in your Jenkins interface by taking any of these actions:
492
+
Starting in R2024b, if you have a MATLAB Test™ license, you can view your MATLAB and Simulink test results in your Jenkins interface by taking either of these actions:
493
493
- Run tests with a [`matlab.buildtool.tasks.TestTask`](https://www.mathworks.com/help/matlab/ref/matlab.buildtool.tasks.testtask-class.html) instance using the **Run MATLAB Build** or `runMATLABBuild` step.
494
494
- Run tests with a default test runner using the **Run MATLAB Command** or `runMATLABCommand` step. A default test runner is equivalent to the runner that the testing framework configures by default when you call the [`runtests`](https://www.mathworks.com/help/matlab/ref/runtests.html) function.
495
495
496
496
After your build runs, the Jenkins build summary page displays the number of tests in the test suite, as well as the number of tests that passed, failed, were incomplete (due to assumption failure), and did not run (due to fatal assertion failure). You can click the **MATLAB Test Results** link on the page to access the table of test results. The status buttons above the table provide a summary of the test results. By default, the table includes a row for each file that defines a test in the test suite. Each table row displays the status of a test file, its name, and the time it took to run. You can point to a filename in the table to identify its path within your project.
497
497
498
-

498
+
<imgwidth="1920"height="528"alt="Table of MATLAB test results including one test file. The row in the table displays an Incomplete status, filename, expander, and duration."src="https://github.com/user-attachments/assets/6eca6b5d-3f20-4ffd-a6cd-ae3db1a2a843" />
499
499
500
500
You can interact with the table of test results. To view the results of tests within each test file, click the expander to the right of the filename. The test results appear in a table under the filename. The row corresponding to each test includes the test status (Passed, Failed, Incomplete, or Not Run), test procedure name, test diagnostics, and duration.
501
501
502
-

502
+
<imgwidth="1900"height="907"alt="Table of MATLAB test results including passed tests and an incomplete test from a single test file. The tests within the test file appear after clicking the expander to the right of the filename. The row corresponding to each test includes the test status, test procedure name, diagnostics, and duration."src="https://github.com/user-attachments/assets/73958d4f-6793-4a20-b3e8-38803793157f" />
503
503
504
-
You can use the status filters above the **MATLAB Test Results**table to customize your view. For example, to focus on any incomplete tests, select the Incomplete status filter.
504
+
You can use the status filters above the table on the **MATLAB Test Results**page to customize your view. For example, to focus on any incomplete tests, select the Incomplete status filter.
505
505
506
506
## Register MATLAB as Jenkins Tool
507
507
When you run MATLAB code and Simulink models as part of your automated pipeline of tasks, Jenkins invokes MATLAB as an external program. When you configure your project, you can explicitly specify the MATLAB version that Jenkins invokes by providing the path to the preferred MATLAB root folder. For example, you can use an `environment` block in your `Jenkinsfile` to specify a MATLAB root folder for your pipeline project.
@@ -679,3 +679,4 @@ pipeline {
679
679
## See Also
680
680
*[Run MATLAB Tests on Jenkins Server](examples/Run-MATLAB-Tests.md)<br/>
681
681
*[Continuous Integration with MATLAB and Simulink](https://www.mathworks.com/solutions/continuous-integration.html)
0 commit comments