Releases: mathworks/jenkins-matlab-plugin
q2.6.1-snapshot
Qualification release for 2.6.1-snapshot
matlab-2.5.1
Patch Release
- This release includes updated documentation for the plugin. Access the most recent version at Plugin Configuration Guide.
matlab-2.5.0
Bug Fixes
- Fix for the stage failure issue in Pipeline projects.
If MATLAB terminates with a nonzero exit code within a stage that uses therunMATLABCommand
orrunMATLABTests
steps, the plugin now supports exception handling by throwing the MATLAB execution exception. To react to the exception within the current stage, use thecatchError
andtry/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.
matlab-2.4.0
Features
-
When you register a MATLAB version as a Jenkins tool, you can use the tool to run your build in freestyle, multi-configuration, and Pipeline projects. Previously, using MATLAB as a tool was supported only for Pipeline projects.
For more information about how to use this feature in UI-based workflows, see Use MATLAB in Build and Set Up Multi-Configuration Project. -
You can now run a filtered test suite using either the Run MATLAB Tests section of the web UI or the
runMATLABTests
step of your Pipeline. To create a filtered suite, specify test folders, a test tag, or both:- If you specify test folders, the plugin creates a test suite using only the tests in the specified folders and their subfolders.
- If you specify a test tag, the plugin creates a test suite using only the test elements with the specified tag.
For more information about how to specify test suite filters, see Plugin Configuration Guide.
matlab-2.2.0
Merge pull request #150 from mathworks/2.1.4-Qualification matlab-2.1.4-Qualification
matlab-2.1.3
This hot-fix release includes,
- Prior Release Snapshot : matlab-2.1.3-SNAPSHOT_TempPath
- Fix for issue #132
matlab-2.1.3-SNAPSHOT_TempPath
This change includes,
- Fix temp path generation to remove multiple delimiters.
- Change code coverage collection tool to JaCoCo
Reference QE PR : #131
matlab-2.1.1-patch-release
This release includes the fix for #117
matlab-3.0.0-qualification
These changes include
- All pipeline changes
- code changes for matlab script as a command.
matlab-2.1.1-SNAPSHOT-DSL
- Added Support for Pipeline DSL script for both run tests & run command.
- Added Unit tests for Pipeline changes.
Pipeline Syntax to Run MATLAB command :
pipeline {
agent any
environment {
PATH = "${PATH}:/usr/local/MATLAB/R2019b/bin"
}
stages{
stage('Run Tests') {
steps
{
runMATLABCommand 'pwd'
}
}
}
}
Pipeline syntax to Run MATLAB Tests & generate test artifacts :
pipeline {
agent any
environment {
PATH = "${PATH}:/usr/local/MATLAB/R2019b/bin"
}
stages{
stage('Run Tests') {
steps
{
runMATLABTests(testResultsPdf:'myresult/result.pdf')
}
}
}
}