cobertura - gcovr with jenkins doesn't work -
i trying produce code coverage report using gcovr jenkins no avail, doesn't produce result if run terminal, works fine. here command executing thru jenkins generate same :
gcovr -r /path/to/sourcefiles --object-directory=/users/testinganywhere1/pathtogcdafile -x -b -e /developer 1> html/coverage.xml 2>/tmp/error.txt if run same through terminal works grt!
thanks help!
ps: running jenkins on master machine , instructing execute job on slave machine.
you must first go object directory before executing it
cd /users/testinganywhere1/pathtogcdafile; gcovr -r /path/to/sourcefiles --object-directory=/users/testinganywhere1/pathtogcdafile -x -b -e /developer 1> html/coverage.xml 2>/tmp/error.txt
Comments
Post a Comment