forked from cossan-working-group/OpenCossan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
31 lines (28 loc) · 866 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
#!groovy
pipeline {
// Run in docker container
agent {
docker {
image 'friesischscott/gitlab-ci-matlab'
args '-v /opt/MATLAB/R2019b/:/usr/local/MATLAB/from-host -v /home/jenkins/.matlab/R2019b:/.matlab/R2019b --mac-address=2c:60:0c:e3:7e:8c'
}
}
stages {
stage("Test") {
parallel {
stage("Integration") {
steps {
sh 'matlab -r run_integration_tests'
}
post {
success {
// archive and track test results
archiveArtifacts "integrationResults.xml"
junit "integrationResults.xml"
}
}
}
}
}
}
}