提交 334ba8dd 编写于 作者: P Ping Xiao

test: add test script for coverity scan report

上级 2cbb8ed3
#!/bin/bash
# follow link: https://scan.coverity.com/download
workdir=/root
token="replace_with_coverity_scan_token"
cd $workdir/TDengine
git reset --hard HEAD
git checkout -- .
git checkout develop
git pull
git submodule update --init --recursive
mkdir -p debug
cd debug
rm -rf *
cmake .. -DBUILD_TOOLS=true
cov-build --dir cov-int make -j 4
tar czvf TDengine.tgz cov-int
curl --form token=$token \
--form email="support@taosdata.com" \
--form file=@TDengine.tgz \
--form version="2.4.0.0" \
--form description="TDengine Test" \
https://scan.coverity.com/builds?project=tdengine
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册