jenkins: retry clang-tidy step, max of 3 runs

This commit is contained in:
Anthony Lamping 2018-10-15 15:12:38 -04:00 committed by Daniel Agar
parent ad8539bd15
commit 906559d8cf
1 changed files with 4 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -132,8 +132,10 @@ pipeline {
}
steps {
sh 'export'
sh 'make distclean'
sh 'make clang-tidy-quiet'
retry (3) {
sh 'make distclean'
sh 'make clang-tidy-quiet'
}
sh 'make distclean'
}
}