我在Jenkins shell运行我的python setup.py sdist
Tox
正在运行并安装所有依赖项,但在获取py.test
命令时如果说():
py27 runtests: commands[0] | py.test --junit-xml=C:\my_folder\unit_test_results.xml
failed to create process.
我的ini
文件看起来像这样:
[tox]
envlist = py27, docs
[testenv]
deps=pytest
commands=py.test --junit-xml={toxinidir}\unit_test_results.xml
[testenv:docs]
basepython=python
changedir=docs\source
deps=
sphinx
sphinx_epytext
commands=sphinx-build -W -b html -d {envtmpdir}\doctrees . {envtmpdir}\html
知道为什么它无法创建流程吗?