mathworks / jenkins-matlab-plugin

This plugin enables you to run MATLAB® and Simulink® as part of your Jenkins™ build.
45 stars 52 forks source link

No MATLAB bin directory for this machines architecture on mac with apple silicon #328

Closed yitingw3 closed 1 week ago

yitingw3 commented 3 weeks ago

Got this error on an apple silicon mac agent, same pipeline passed on the Intel mac.

#################### Starting command output #################### $ **** Generating MATLAB script with content: pwd

[mac_free] $ /Users/yitingw/bash/jenkins/workspace/mac_free/.matlab/tempDir.tmp1446622203692712450/run-matlab-command "setenv('MW_ORIG_WORKING_FOLDER', cd('/Users/yitingw/bash/jenkins/workspace/mac_free/.matlab/tempDir.tmp1446622203692712450'));script_rV6jmVQu" -sd matlab env: /Applications/MATLAB_R2024a.app/bin/maci64/path_per_install: No such file or directory mkdir: /bin/maci64: Operation not permitted

matlab: No MATLAB bin directory for this machine architecture.

       ARCH = maci64

exit status 1 Received a nonzero exit code 1 while trying to run MATLAB. Finished: FAILURE

sameagen-MW commented 1 week ago

Fixed in dev_main