running Matlab batch error: ERROR: MATLAB error Exit Status: 0x00000001
running this command in both the command line and in Jenkins gives me error:
matlab -batch "addpath(fullfile(pwd,’functions’)); exit(runJenkins)"
here are some other text displayed ; these are unit tests outputs.The unit test passed, but the error still shows up.
Running mysqrt_Test
..
Done mysqrt_Test
__________
1
ERROR: MATLAB error Exit Status: 0x00000001
C:UsersODMEDAppDataLocalJenkins.jenkinsworkspaceMatlab test>exit 1
Build step ‘Execute Windows batch command’ marked build as failure
Finished: FAILURErunning this command in both the command line and in Jenkins gives me error:
matlab -batch "addpath(fullfile(pwd,’functions’)); exit(runJenkins)"
here are some other text displayed ; these are unit tests outputs.The unit test passed, but the error still shows up.
Running mysqrt_Test
..
Done mysqrt_Test
__________
1
ERROR: MATLAB error Exit Status: 0x00000001
C:UsersODMEDAppDataLocalJenkins.jenkinsworkspaceMatlab test>exit 1
Build step ‘Execute Windows batch command’ marked build as failure
Finished: FAILURE running this command in both the command line and in Jenkins gives me error:
matlab -batch "addpath(fullfile(pwd,’functions’)); exit(runJenkins)"
here are some other text displayed ; these are unit tests outputs.The unit test passed, but the error still shows up.
Running mysqrt_Test
..
Done mysqrt_Test
__________
1
ERROR: MATLAB error Exit Status: 0x00000001
C:UsersODMEDAppDataLocalJenkins.jenkinsworkspaceMatlab test>exit 1
Build step ‘Execute Windows batch command’ marked build as failure
Finished: FAILURE batch, jenkins, cmd, command line MATLAB Answers — New Questions