Capture scripts for Coverity Scan analysis

With the recent Coverity Scan 2021.12 version, Python 3 scripts are
being analyzed in addition to C files. The --fs-capture-search option
scripts for Coverity Scan analysis should be added to leverage this
feature.

(cherry picked from commit b4a2674d98)
This commit is contained in:
Michal Nowak 2022-02-10 11:05:46 +01:00
parent bed115211e
commit e1a463e98d
No known key found for this signature in database
GPG key ID: 24A3E8463AEE5E56

View file

@ -1187,7 +1187,7 @@ release:
- test -d /tmp/cov-analysis-linux64-2021.12.1
.coverity_build: &coverity_build
- /tmp/cov-analysis-linux64-2021.12.1/bin/cov-build --dir /tmp/cov-int sh -c 'make -j${BUILD_PARALLEL_JOBS:-1} -k all V=1'
- /tmp/cov-analysis-linux64-2021.12.1/bin/cov-build --dir /tmp/cov-int --fs-capture-search . sh -c 'make -j${BUILD_PARALLEL_JOBS:-1} -k all V=1'
- tar --create --gzip --file=/tmp/cov-int.tar.gz --directory /tmp cov-int
- curl -v https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME
--form token=$COVERITY_SCAN_TOKEN