forked from ros-planning/navigation
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Jenkinsfile
34 lines (34 loc) · 909 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
pipeline {
agent {
docker {
label "ros && docker && small"
image "242567060652.dkr.ecr.us-west-2.amazonaws.com/ros-ci/cpplint:v1.1"
registryUrl "https://242567060652.dkr.ecr.us-west-2.amazonaws.com"
registryCredentialsId "ecr:us-west-2:CIUser"
}
}
options {
buildDiscarder(logRotator(daysToKeepStr: '14', numToKeepStr: '10'))
}
stages {
stage('test') {
steps {
// Currently only the costmap_3d package passes cpplint.
// The rest of the packages are upstream and have many lint errors.
dir('costmap_3d') {
sh label: 'Verify costmap_3d c++ code with cpplint', script: "badger-cpplint"
}
}
post {
always {
junit testResults: 'costmap_3d/results/cpplint_junit.xml'
}
}
}
}
post {
always {
archiveArtifacts artifacts: 'costmap_3d/results/*'
}
}
}