How to close Matlab by Jenkins without an error message
Show older comments
Hi,
I am using Jenkins to run serval Matlab Scripts. My configuration is
- Jenkins 2.204.2
- Matlab R2013b 32 bit
- MATLAB Plugin 1.1.2
Matlab will started correctly and also the scripts working well. The only issue is to close Matlab. Jenkins detects the closing process as error "MATLAB is exiting because of fatal error". That mark the build process as failure and didn't get a successful build.
I tried to start Matlab by Batch Command and also by the Matlab Plugin. Both generate the closing error.
Now I use the Matlab Plugin, because the Batch Command generates a duplicated log messages.
I used different methods to close Matlab...without success
exit;
exit(0);
quit;
quit(0);
quit(force);
How can Matlab be closed without marking the build as failure?
Answers (1)
Stefan
on 5 Mar 2020
0 votes
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!