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

Commit dcf47b6

Browse files
committed
Addd batch executable build env for DSL
1 parent c9fc25b commit dcf47b6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/com/mathworks/ci/MatlabInstallation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public MatlabInstallation forNode(@Nonnull Node node, TaskListener log) throws I
5858
@Override
5959
public void buildEnvVars(EnvVars env) {
6060
String pathToExecutable = getHome() + "/bin";
61+
env.put ("PATH+matlab_batch", getHome ());
6162
env.put("PATH+matlabroot", pathToExecutable);
6263
}
6364

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public FilePath performInstallation (ToolInstallation tool, Node node, TaskListe
7474
} catch (Exception e) {
7575
throw new InstallationFailedException (e.getMessage ());
7676
}
77+
7778
getFreshCopyOfExecutables (installable, expectedPath);
7879

7980
int result = installUsingMpm (node, expectedPath, log);

0 commit comments

Comments
 (0)