Skip to content

matlab-2.5.0

Compare
Choose a tag to compare
@abhargav-mw abhargav-mw released this 20 May 12:31
· 348 commits to master since this release

Bug Fixes

  • Fix for the stage failure issue in pipeline projects.
    If MATLAB terminates with a nonzero exit code within a stage that uses the runMATLABCommand or runMATLABTests steps, the plugin supports exception handling by throwing the MATLAB execution exception. To react to the exception within the current stage, use the catchError and try/catch blocks in declarative and scripted pipelines, respectively.

Compatibility Considerations

  • If, during the execution of your pipeline, MATLAB terminates with a nonzero exit code, the plugin throws the MATLAB execution exception and lets you perform exception handling within the current stage. If you properly react to the thrown exception, your build can succeed. In previous releases, if MATLAB terminates with a nonzero exit code, the plugin marks the build as a failure.