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: README.md
+11-15Lines changed: 11 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,42 +77,38 @@ In this example, four MATLAB versions are specified, which will be used to run t
77
77
78
78
2) In the **Run MATLAB Tests** section of the project, include the user-defined axis name in the **MATLAB root** field to specify the locations where MATLAB is installed. In this example, **$VERSION** will be replaced by one axis value per build step.
79
79
80
-
81
-
3) Replace the User-defined axis variable in MATLAB root appropriately.
As in a freestyle project, you can select test artifact check boxes when tests run automatically. Once you have made your selections, save your settings and run the build.
86
83
87
-
#### Matrix build for "Custom" option.
84
+
###Option 2: Multi-Configuration Project with Automatic Test Mode
3) Add another User-defined axis for custom commands as shown below.
92
+
2) Add another user-defined axis with the **Add axis** button. In this example, the **TEST_TAG** axis specifies the possible test tags for a group of test elements.
5)Select "Custom" option from "Test mode" drop-down and replace User-defined axis variable for custom command appropriately.
100
+
5)From the **Test mode** drop-down list, select the **Custom** option. Use the second user-defined axis to create your commands and enter them in the **MATLAB command** field. Then, save your settings and run the build.
1) For a user-defined axis named **VAR**, **$VAR** and **${VAR}** are both valid formats for accessing the values.
110
106
107
+
2) A multi-configuration project creates a separate workspace for each user-defined axis value. If you specify the full paths to where MATLAB is installed as axis values, Jenkins fails to create separate workspaces and fails the build.
111
108
112
-
Note: Axis variables can be replaced in either "$VAR" or "${VAR}" formats. Do not use complete MATLAB root path as axis values. Multi-configuration project creates separate workspace folder for each User-defined axis values with same name, and file separators in complete path will cause Jenkins build to fail as folder creation fails.
113
109
114
110
## Contact Us
115
-
If you have any questions or suggestions, please feel free to contact MathWorks.
111
+
If you have any questions or suggestions, please contact MathWorks.
0 commit comments