-
Notifications
You must be signed in to change notification settings - Fork 11
/
JenkinsFile
31 lines (26 loc) · 969 Bytes
/
JenkinsFile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pipeline {
agent any
environment {
PATH="C:\Program Files\MATLAB\$PATH"
}
tools {
matlab 'MATLABR2020a'
matlab 'MATLABR2021a'
}
stages{
stage('Run MATLAB Tests'){
steps
{
runMATLABTests(
//Add source path specific to your local host
//sourceFolder: ["/Users/sjayagop/Desktop/src","/Users/sjayagop/Desktop/test"],
selectByTag:'SystemTest',
selectByFolder:['test/functionbased'],
testResultsTAP: 'new-results/results.tap',
testResultsJUnit: 'new-results/results.xml',
codeCoverageCobertura: 'new-coverage/coverage.xml',
modelCoverageCobertura: 'new-coverage/coverage.xml')
}
}
}
}