【发布时间】:2015-03-02 13:25:35
【问题描述】:
我想用 jenkins 运行一个 maven 任务,所以我在 linux 中使用sudo apt-get install maven 命令安装了 maven,然后在 jenkins 配置中我像这样填充了 maven 部分:
但是当我想运行任务时,我得到这个输出:
Started by user anonymous
Building in workspace /home/services/xebium
ERROR: Couldn't find Maven executable.
/home/services/xebium
Can't find target file: out/*.xml with working directory: /home/services/xebium
Reading results as UTF-8 from /home/services/xebium/out/result.xml
Parsing results...
如您所见,它找不到 maven,虽然无法运行 maven 目标! 有人可以帮忙吗?
【问题讨论】: