Skip to content

Commit

Permalink
Jenkins check style first (#9197)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar authored Mar 30, 2018
1 parent a328ba9 commit 60a7ce7
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ pipeline {
agent none
stages {

stage('Style Check') {
agent {
docker { image 'px4io/px4-dev-base:2017-12-30' }
}

steps {
sh 'make submodulesclean'
sh 'make check_format'
}
}

stage('Build') {
steps {
script {
Expand Down Expand Up @@ -248,19 +259,6 @@ pipeline {
stage('Test') {
parallel {

stage('check style') {
agent {
docker {
image 'px4io/px4-dev-base:2017-12-30'
}
}
steps {
sh 'export'
sh 'make distclean'
sh 'make check_format'
}
}

stage('clang analyzer') {
agent {
docker {
Expand Down

0 comments on commit 60a7ce7

Please sign in to comment.