From 71613ac631871efdf7d2818f085ecff5ab5037ea Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 25 Jul 2019 10:45:00 -0400 Subject: [PATCH] Jenkins fetch all tags --- .ci/Jenkinsfile-SITL_tests_coverage | 3 +++ Jenkinsfile | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.ci/Jenkinsfile-SITL_tests_coverage b/.ci/Jenkinsfile-SITL_tests_coverage index 4c4c4ef42e65..0533f6bfc6c7 100644 --- a/.ci/Jenkinsfile-SITL_tests_coverage +++ b/.ci/Jenkinsfile-SITL_tests_coverage @@ -86,6 +86,7 @@ pipeline { steps { sh 'export' sh 'make distclean' + sh 'git fetch --tags' sh 'make python_coverage' withCredentials([string(credentialsId: 'FIRMWARE_CODECOV_TOKEN', variable: 'CODECOV_TOKEN')]) { sh 'curl -s https://codecov.io/bash | bash -s - -F python' @@ -105,6 +106,7 @@ pipeline { steps { sh 'export' sh 'make distclean' + sh 'git fetch --tags' sh 'make px4_sitl_test test_results_junit' withCredentials([string(credentialsId: 'FIRMWARE_CODECOV_TOKEN', variable: 'CODECOV_TOKEN')]) { sh 'curl -s https://codecov.io/bash | bash -s - -F unittest' @@ -145,6 +147,7 @@ def createTestNode(Map test_def) { // run test try { sh('make distclean') + sh 'git fetch --tags' sh('ccache -z') sh('make px4_sitl_default') sh('make px4_sitl_default sitl_gazebo') diff --git a/Jenkinsfile b/Jenkinsfile index 59fdca7325e1..d15c18edb6d3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -245,6 +245,7 @@ pipeline { steps { sh 'export' sh 'make distclean' + sh 'git fetch --tags' sh 'make scan-build' // publish html publishHTML target: [ @@ -303,6 +304,7 @@ pipeline { steps { sh 'export' sh 'make distclean' + sh 'git fetch --tags' sh 'make cppcheck' // publish html publishHTML target: [