Hudson build failed to use Python & Coverage

I finished this tutorial from Joe Heck to set up Hudson for Python , Everything works fine except the Coverage section . My build failed with this output:

[workspace] $ /bin/sh -xe /tmp/hudson6222564272447222496.sh
+ coverage run tests/run.py --with-xunit
You must specify at least one of -e, -x, -c, -r, or -a.

I tried to include the Execute argument, -x, but received an exception that was ultimately caused by a permission failure:

IOError: [Errno 13] Permission denied: 'nosetests.xml'

Has anyone got Coverage successfully working with Hudson ?

+3
source share
1 answer

cover.py, 2.x. " " - content.py 3.x. cover.py http://pypi.python.org/pypi/coverage, .

+4

Source: https://habr.com/ru/post/1729729/


All Articles