From 270622a5f15fbeddcf2eb7d50cf056d07d80b349 Mon Sep 17 00:00:00 2001 From: Ulrich Mohr Date: Mon, 6 Feb 2023 22:49:37 +0100 Subject: [PATCH] no coverage with clang so far; using correct path to push coverage data --- automation/Jenkinsfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index 8fafa37c..c0ea52ae 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -21,7 +21,6 @@ pipeline { dir(BUILDDIR_HOST) { sh 'CC=clang CXX=clang++ cmake -DFSFW_OSAL=host -DFSFW_BUILD_TESTS=ON -DFSFW_CICD_BUILD=ON ..' sh 'cmake --build . -j4' - sh 'cmake --build . -- fsfw-tests_coverage -j4' sh 'valgrind --leak-check=full --error-exitcode=1 ./fsfw-tests' } } @@ -45,7 +44,7 @@ pipeline { dir(BUILDDIR_FREERTOS) { sh 'cmake -DFSFW_OSAL=freertos -DFSFW_BUILD_TESTS=ON -DFSFW_CICD_BUILD=ON ..' sh 'cmake --build . -j4' - sh 'cmake --build . -- fsfw-tests_coverage -j4' + sh './fsfw-tests' //sh 'valgrind --leak-check=full --error-exitcode=1 ./fsfw-tests' } } @@ -83,7 +82,7 @@ pipeline { sh 'rsync -r --delete docs/sphinx/* buildfix@documentation.irs.uni-stuttgart.de:/fsfw/development' } } - dir(BUILDDIR) { + dir(BUILDDIR_LINUX) { sshagent(credentials: ['documentation-buildfix']) { sh 'rsync -r --delete fsfw-tests_coverage/* buildfix@documentation.irs.uni-stuttgart.de:/fsfw/coverage/development' } @@ -102,7 +101,7 @@ pipeline { sh 'rsync -r --delete docs/sphinx/* buildfix@documentation.irs.uni-stuttgart.de:/fsfw/master' } } - dir(BUILDDIR) { + dir(BUILDDIR_LINUX) { sshagent(credentials: ['documentation-buildfix']) { sh 'rsync -r --delete fsfw-tests_coverage/* buildfix@documentation.irs.uni-stuttgart.de:/fsfw/coverage/master' }