forked from ros-industrial/error_resolution_diagnoser_ros2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
41 lines (40 loc) · 898 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
32
33
34
35
36
37
38
39
40
41
pipeline{
agent { label 'ros2' }
stages{
stage('--test--'){
steps{
echo 'conducting tests'
}
}
stage('--build--'){
steps{
echo 'building tests'
sh '''
sh cognicept-runtest.sh
'''
}
}
stage('--cd--'){
steps{
echo 'Performing CD'
sh '''
sh cd.sh
'''
}
}
stage ("--Extract test results--") {
steps {
echo 'extracting test results - 2'
sh '''
sh ros2-test.sh
'''
}
}
}
post {
always {
// junit 'coverage.xml'
step([$class: 'CoberturaPublisher', autoUpdateHealth: false, autoUpdateStability: false, coberturaReportFile: '**/coverage.xml', failUnhealthy: false, failUnstable: false, maxNumberOfBuilds: 0, onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false])
}
}
}