开发者

Hudson -- Windows execute windows batch command

I currently running the following commands on a hudson slave deployed on a windows machine.

dir
cmd
mvn clean install

I get the following return on the build.

mvn' is not recognized as an internal or开发者_如何学JAVA external command,
operable program or batch file.

I have set the correct path on the node which points to the hudson installation on the windows machine.

I have also set the correct Path for JAVA and M2_HOME on the windows slave machine.

I was hoping for the correct way to call maven and maybe another *.bat file if need be in the future.

Please and thank you


I still haven't figured this out. A good work around is to use the full path to mvn to run it. Which worked for me.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜