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

Commit c822a0f

Browse files
committed
Updated as per review comments
1 parent 836dc3e commit c822a0f

File tree

5 files changed

+22
-16
lines changed

5 files changed

+22
-16
lines changed

src/main/java/com/mathworks/ci/tools/MatlabInstaller.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ public FilePath performInstallation (ToolInstallation tool, Node node, TaskListe
9696
int result = installUsingMpm (node, expectedPath, log, installedProducts);
9797
if (result == 0) {
9898
log.getLogger ().println (
99-
"MATLAB installation for version " + this.getVersion ()
100-
+ " using mpm is completed successfully !");
99+
"MATLAB installation of version " + this.getVersion ()
100+
+ " using mpm completed successfully!");
101101
updateProductList (installedProducts);
102102
}
103103
}

src/main/resources/com/mathworks/ci/tools/MatlabInstaller/config.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<f:entry title="Version " field="version">
44
<f:textbox />
55
</f:entry>
6-
<f:entry title="Product List " field="products">
6+
<f:entry title="Products" field="products">
77
<f:textbox />
88
</f:entry>
99
</j:jelly>
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<div>
22
<p>
3-
(Optional) Products to set up in addition to MATLAB, specified as a list of product names separated by spaces.
4-
You can specify products to set up most MathWorks products and support packages.
3+
Insert a space-separated list of products to install. The plugin installs the specified products in addition to MATLAB.
54
</p>
65
<p>
76
For a list of supported products, open the input file for your preferred release from the <a href="https://github.com/mathworks-ref-arch/matlab-dockerfile/tree/main/mpm-input-files">mpm-input-files </a>folder on GitHub.
8-
Specify products using the format shown in the input file, excluding the #product. prefix.
7+
Specify products using the format shown in the input file, excluding the #product. prefix. For example, to install Deep Learning Toolbox™ in addition to MATLAB, insert Deep_Learning_Toolbox in the Products box.
98
</p>
109
<p>
11-
<strong>Example:</strong> to set up Deep Learning Toolbox™ in addition to MATLAB,
12-
specify products: Deep_Learning_Toolbox
10+
<strong>Example:</strong> Simulink <br>
11+
<strong>Example:</strong> Simulink Deep_Learning_Toolbox <br>
1312
</p>
14-
<strong>Note:</strong> MATLAB is selected by default if text box is blank or no products specified.
1513
</div>
Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
<div>
22
<p>
3-
Enter the MATLAB version to be installed. For update versions, append the appropriate update number to the MATLAB version.
3+
Insert the MATLAB version to install. To install the latest release of MATLAB, insert latest in the <b>Version</b> box.
44
</p>
55
<p>
6-
<strong>Example:</strong> R2024a or R2024aU1 <br>
7-
<strong>Example:</strong> For latest MATLAB release just provide <b>latest</b> as version.
6+
<ul>
7+
<li>To install the latest update of a release, specify only the release name, for example, R2023b.</li>>
8+
<li>To install a specific update release, specify the release name with an update number suffix, for example, R2023bU4.</li>>
9+
<li>To install a release without updates, specify the release name with an update 0 or general release suffix, for example, R2023bU0 or R2023bGR.</li>>
10+
</ul>>
11+
</p>>
12+
<p>
13+
<strong>Example:</strong> R2024a <br>
14+
<strong>Example:</strong> latest <br>
15+
<strong>Example:</strong> R2023bU4 <br>
816
</p>
917
<p>
10-
<strong>Note:</strong> If the installation host is Linux, you may need to install some
11-
<a href="https://in.mathworks.com/help/install/ug/get-mpm-os-command-line.html">dependencies</a>
12-
before installing MATLAB using MPM.
18+
<strong>Note:</strong> The plugin does not install dependencies on a Linux platform. If you are using a Linux platform,
19+
verify that the required software is available before installing products using MATLAB Package Manager. For more information, see
20+
<a href="https://in.mathworks.com/help/install/ug/get-mpm-os-command-line.html">Get MATLAB Package Manager.</a>
1321
</p>
1422
</div>

src/main/resources/config.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Axis.matlab.key = MATLAB
2929
Axis.use.matlab.warning = This project specifies MATLAB versions using the added 'MATLAB' axis as well as the 'Use MATLAB version' option. The value specified by 'Use MATLAB version' takes precedence over the values specified by the 'MATLAB' axis.
3030
Axis.no.installed.matlab.error = Because no MATLAB versions exist under Jenkins Global Tool Configuration, the plugin will run the default matrix configuration.
3131
Use.matlab.version.axis.warning = This project specifies MATLAB versions using the 'Use MATLAB version' option as well as the added 'MATLAB' axis. The value specified by 'Use MATLAB version' takes precedence over the values specified by the 'MATLAB' axis.
32-
matlab.tools.auto.install.display.name = Install Using MPM
32+
matlab.tools.auto.install.display.name = Install Using MATLAB Package Manager
3333

3434
tools.matlab.mpm.installer.linux = https://www.mathworks.com/mpm/glnxa64/mpm
3535
tools.matlab.batch.executable.linux = https://ssd.mathworks.com/supportfiles/ci/matlab-batch/v1/glnxa64/matlab-batch

0 commit comments

Comments
 (0)