Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Releases: mathworks/jenkins-matlab-plugin

q2.6.1-snapshot

13 Aug 10:37
d713c54
Compare
Choose a tag to compare

Qualification release for 2.6.1-snapshot

matlab-2.5.1

05 Jul 05:34
Compare
Choose a tag to compare

Patch Release

matlab-2.5.0

21 May 06:57
Compare
Choose a tag to compare

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.

matlab-2.4.0

03 Feb 06:30
01ed5cf
Compare
Choose a tag to compare

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

16 Oct 09:19
e7c3f49
Compare
Choose a tag to compare
matlab-2.2.0 Pre-release
Pre-release
Merge pull request #150 from mathworks/2.1.4-Qualification

matlab-2.1.4-Qualification

matlab-2.1.3

24 Aug 08:29
cb97adb
Compare
Choose a tag to compare
matlab-2.1.3 Pre-release
Pre-release

This hot-fix release includes,

  • Prior Release Snapshot : matlab-2.1.3-SNAPSHOT_TempPath
  • Fix for issue #132

matlab-2.1.3-SNAPSHOT_TempPath

12 Aug 05:52
1a284ff
Compare
Choose a tag to compare
Pre-release

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

21 Jul 07:57
100647f
Compare
Choose a tag to compare
Pre-release

This release includes the fix for #117

matlab-3.0.0-qualification

07 Jul 08:15
Compare
Choose a tag to compare
Pre-release

These changes include

  • All pipeline changes
  • code changes for matlab script as a command.

matlab-2.1.1-SNAPSHOT-DSL

08 Jun 08:00
Compare
Choose a tag to compare
Pre-release
  • 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')          
            }        
        }                 
    }
}