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

Windows server doesn't work on mac or linux agent #326

Closed yitingw3 closed 3 weeks ago

yitingw3 commented 3 weeks ago

I have a Jenkins server running on a windows machine with a mac agent and a linux agent. Got the error below on both mac and linux agent.

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

[mac_free] $ /Users/yitingw/bash/jenkins/workspace/mac_free.matlab\tempDir.tmp16468002313306274218\run-matlab-command "setenv('MW_ORIG_WORKING_FOLDER', cd('/Users/yitingw/bash/jenkins/workspace/mac_free.matlab\tempDir.tmp16468002313306274218'));script_WrTxnJhq" -sd matlab Cannot run program "/Users/yitingw/bash/jenkins/workspace/mac_free.matlab\tempDir.tmp16468002313306274218\run-matlab-command" (in directory "/Users/yitingw/bash/jenkins/workspace/mac_free"): error=13, Permission denied Finished: FAILURE