3 export COVDIR="$HOME/cov-analysis"
4 if [ ! -d "$COVDIR" ]; then
5 echo "missing $COVDIR; get that from coverity!"
8 if [ ! -e "$HOME/coverity.build.pass.txt" ]; then
9 echo "missing $HOME/coverity.build.pass.txt"
13 export PATH="$COVDIR/bin:$PATH"
18 ~/cov-analysis/bin/cov-build --dir cov-int make -j$(nproc)
20 echo Sage Weil sage@newdream.net ceph >> README
21 tar czvf project.tgz README cov-int
24 version=`git describe`
25 token=`cat ~/coverity.build.pass.txt`
26 curl --form token=$token \
27 --form email=sage@newdream.net \
28 --form file=@project.tgz \
29 --form version="$version" \
30 --form description="Automated Ceph build from `hostname`" \
31 https://scan.coverity.com/builds?project=ceph