Плагин Jenkins Cobertura «Исходный код недоступен»

Я использую Jenkins ver. 1.466с Jenkins Cobertura Plugin ver. 1,5. Я создал отчет о покрытии для проекта Django. Все диаграммы выглядят хорошо, но когда я хочу увидеть исходный код, у меня появляется предупреждающее сообщение:

Source code is unavailable. Some possible reasons are:
    This is not the most recent build (to save on disk space, this plugin only keepsthe     most recent builds source code).
    Cobertura found the source code but did not provide enough information to locate the source code.
    Cobertura could not find the source code, so this plugin has no hope of finding it.

Отчет о покрытии создается с помощью следующих шагов:

coverage run manage.py test --noinput
coverage xml -o ../reports/coverage.xml

Я пытался использовать:

sed 's/filename="/filename="my\/path\//g' coverage.xml > coverage2.xml

, но не помогло, плагин Cobertura не помог. t найти исходный код не с относительным или абсолютным путем.

П.С. Какая-то странная проблема, если я помещаю исходный код в каталог cobertura- исходный код отображается, но не выделяется.

7
задан Adin 30 May 2012 в 11:43
поделиться