Hudson: How to set cvs program location on different platforms?
Ex: Windows: c:\cvs\bin\cvs Aix: /tools/bin Ubuntu: 开发者_JAVA百科/storage/bin
Under "Configure Hudson" at http://yourhost:8080/hudson/configure , there's a section headed CVS with a textbox labelled cvs executable
.
Enter cvs
in here and Hudson will look on your PATH
(whether Windows or Linux) for cvs. Alternatively enter the full path here.
Under http://yourhost:8080/computer/--nodename--/configure you can set environment variables and tool locations on a per-node basis.
Unfortunately, the cvs scm implementation doesn't seem to use this feature at the moment, so having the cvs executable in the path on each slave is the best option.
精彩评论