Trying to Access MATLAB via Jenkins but not able to open

Hi I am currently facing the issue in opening the MATLAB via jenkins I dont have the admin access to manage Jenkins so can you help me out in handling this issue I am calling the Matlab.exe using a bat script and when in local machine it is working fine but when triggered via Jenkins facing this issue.

Generally, you won’t be able to open applications which require the application to interact with the desktop as Jenkins is generally running as a service on Windows. What you can do is spin up an agent that has access to the desktop. Or, check if there is a -nogui option or something similar that would allow you to do it. Services can’t interact with the desktop.

1 Like