Update Coverity CI scripts.

This commit is contained in:
Teo Mrnjavac 2016-12-09 17:16:20 +01:00
parent 223e5e0620
commit 2e405acbac
2 changed files with 6 additions and 6 deletions

View File

@ -20,11 +20,11 @@ make DESTDIR="$WORKSPACE/prefix" install
cd "$WORKSPACE" cd "$WORKSPACE"
wget https://scan.coverity.com/download/linux-64 --no-check-certificate \ wget https://scan.coverity.com/download/cxx/linux64 --no-check-certificate \
--post-data "token=ll90T04noQ4cORJx_zczKA&project=calamares%2Fcalamares" \ --post-data "token=ll90T04noQ4cORJx_zczKA&project=calamares%2Fcalamares" \
-O coverity_tool.tgz -O coverity_tool.tar.gz
mkdir "$WORKSPACE/coveritytool" mkdir "$WORKSPACE/coveritytool"
tar xvf coverity_tool.tgz -C "$WORKSPACE/coveritytool" --strip-components 1 tar xvf coverity_tool.tar.gz -C "$WORKSPACE/coveritytool" --strip-components 1
export PATH="$WORKSPACE/coveritytool/bin:$PATH" export PATH="$WORKSPACE/coveritytool/bin:$PATH"
rm -Rf "$WORKSPACE/build" rm -Rf "$WORKSPACE/build"

View File

@ -4,11 +4,11 @@
sudo cp ~/jenkins-master/kpluginfactory.h /usr/include/KF5/KCoreAddons sudo cp ~/jenkins-master/kpluginfactory.h /usr/include/KF5/KCoreAddons
cd "$WORKSPACE" cd "$WORKSPACE"
wget https://scan.coverity.com/download/linux-64 --no-check-certificate \ wget https://scan.coverity.com/download/cxx/linux64 --no-check-certificate \
--post-data "token=cyOjQZx5EOFLdhfo7ZDa4Q&project=KDE+Partition+Manager+Core+Library+-+KPMcore" \ --post-data "token=cyOjQZx5EOFLdhfo7ZDa4Q&project=KDE+Partition+Manager+Core+Library+-+KPMcore" \
-O coverity_tool.tgz -O coverity_tool.tar.gz
mkdir "$WORKSPACE/coveritytool" mkdir "$WORKSPACE/coveritytool"
tar xvf coverity_tool.tgz -C "$WORKSPACE/coveritytool" --strip-components 1 tar xvf coverity_tool.tar.gz -C "$WORKSPACE/coveritytool" --strip-components 1
export PATH="$WORKSPACE/coveritytool/bin:$PATH" export PATH="$WORKSPACE/coveritytool/bin:$PATH"
rm -Rf "$WORKSPACE/build" rm -Rf "$WORKSPACE/build"