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

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -