jenkins-matlab-plugin
jenkins-matlab-plugin copied to clipboard
Simulink project shutdown script causes job failure
We had received an issue from one of our customer whose test ran successfully on Jenkins however the build failed with below error {Unrecognized function or variable 'tmpDir'. } ERROR: MATLAB error Exit Status: 0x00000001 Build step 'Run MATLAB Tests' changed build result to FAILURE
Recently @Sebdee also faced the similar issue when running the MATLAB tests using Jenkins plugin.
As per our customer's comments earlier, it seem to be an issue with Simulink.fileGenControl.reset which caused this.
also @Sebdee could resolve it by just removing clear function from the shutdown script. We shall investigate and see how we could either make our logs more interactive in this case or avoid using rmdir
We already have worked on our unzipping strategies with those changes i feel this issue should get resolved.