1 COVLOGIN=myemail@corp.com
2 COVTOKEN=aAbBcCdDeEfFgGhHiIjJkK
3 # Toolchain available at https://scan.coverity.com/download
4 COVBINDIR="/opt/cov-analysis-linux64-2019.03/bin"
5 # Nickname included in scan description:
7 # cov can't read gcov from gcc > 7
15 # Depending if your kernel > 4.8.x, you might need to activate this to run Coverity executables
16 # (but latest tools with kernel 5.2 run fine)
17 #sysctl vsyscall=emulate
19 export PATH="$PATH:$COVBINDIR"
21 function pre_build_hook() {
22 # tmp dir will be /tmp/cov-$username/
23 # It's the good place if you need to redirect to elsewhere with a symlink
27 function post_build_hook() {
31 function pre_submit_hook() {
35 function post_submit_hook() {
36 # Clean up build folders?
38 echo "Coverity build cleaned"