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

Description
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