freeswitch/docker/coverity
Andrey Volk da081d4b9f [Build-System] Add a Dockerfile for Coverity scan. 2024-12-10 22:14:42 +03:00
..
Dockerfile [Build-System] Add a Dockerfile for Coverity scan. 2024-12-10 22:14:42 +03:00
README.md [Build-System] Add a Dockerfile for Coverity scan. 2024-12-10 22:14:42 +03:00

README.md

Coverity scan

Build an image for Coverity

docker build -t coverity --build-arg REPOTOKEN=<signalwire token> --build-arg COVERITYTOKEN=<coverity token> .

Scan FreeSWITCH using a Coverity image

docker run --rm -itv .:/data -e FSBRANCH="master" coverity

This will output freeswitch.tgz file to the current folder

Uploading the result to the Coverity server

curl --form token=<coverity token> \
  --form email=andrey@signalwire.com \
  --form file=@freeswitch.tgz \
  --form version="Version" \
  --form description="Description" \
  https://scan.coverity.com/builds?project=FreeSWITCH