Browse Source

Jenkins fetch all tags

sbg
Daniel Agar 6 years ago
parent
commit
71613ac631
  1. 3
      .ci/Jenkinsfile-SITL_tests_coverage
  2. 2
      Jenkinsfile

3
.ci/Jenkinsfile-SITL_tests_coverage

@ -86,6 +86,7 @@ pipeline { @@ -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 { @@ -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) { @@ -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')

2
Jenkinsfile vendored

@ -245,6 +245,7 @@ pipeline { @@ -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 { @@ -303,6 +304,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'git fetch --tags'
sh 'make cppcheck'
// publish html
publishHTML target: [

Loading…
Cancel
Save