Skip to content

matlab-2.5.0

Compare
Choose a tag to compare
@abhargav-mw abhargav-mw released this 21 May 06:57
· 326 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 now 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.