This repository was archived by the owner on Mar 27, 2025. It is now read-only.
matlab-2.1.1-SNAPSHOT-DSL
Pre-release
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')
}
}
}
}