The curl command to send the report expects the tar file to be in its current directory. The step either needed to have the working-directory: set to the build directory, or the tar file needs to be created in the parent directory. (#903)

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
Soren Ptak 2023-11-28 00:08:57 -05:00 committed by GitHub
parent 61f35dc6b1
commit 76f3aa5b05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,8 @@ jobs:
cmake -S ./examples/cmake_example/ -B build cmake -S ./examples/cmake_example/ -B build
cd build cd build
cov-build --dir cov-int make -j cov-build --dir cov-int make -j
tar czvf gcc_freertos_kernel_sample_build.tgz cov-int # Move the report out of the build directory
tar czvf ../gcc_freertos_kernel_sample_build.tgz cov-int
COV_SCAN_UPLOAD_STATUS=$(curl --form token=${COVERITY_TOKEN} \ COV_SCAN_UPLOAD_STATUS=$(curl --form token=${COVERITY_TOKEN} \
--form email=${COVERITY_EMAIL} \ --form email=${COVERITY_EMAIL} \