开发者

Trying to run one command in "Execute Shell" and a python script in Jenkins (formerly hudson) under "build"

These run on the command line in linux (ubuntu) but when trying to run them via hudson, only the first one (first one) shows up in the console Output

From comment:

  1. nosetests -s --with-coverage --cover-package prus find . -name "*tes开发者_如何学Ct.py"
  2. pylint --rcfile scripts/pylintrc -f parseable prus > pylint.txt echo "pylint complete"
  3. sloccount --wide --details prus > sloccount.sc


It looks like your piping the output from 2 into pylint.txt, and 3 is being piped into sloccount.sc. You need to pipe to both stdout and to the file in order to get your files populates, as well as have the output go to Hudson. Take a look at tee.exe, it will do that for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜