nosetests --processes = 2 --process-timeout = 1800 -v --nocapture -a = attr --attr = api src / tests / externalapi / test_accounts_api.py --with-html
不起作用
控制台说: nosetests:错误:没有这样的选择:--with-html 构建步骤'执行shell'将构建标记为失败
答案 0 :(得分:0)
You can publish test results by adding post build action named “Publish JUnit test result report” in configure section.
You will need to generate *.xml
file with Nose, tell Jenkins what is the name of that file and Jenkins will be able to interpret it and display it in nice looking form.
Option which is interesting for you instead of --with-html
is --with-xunit
.
Documentation for this option is available here.