mvn clean package
我已经在 Go CD 中设置了一个带有一项任务的“Hello World”管道。我已经使用 Java 和 Maven 注册了一个代理并运行。
当我触发管道时,作业失败:
12:05:08.655 [go] Start to execute task: <exec command="mvn" > <arg>clean package</arg> </exec>.
12:05:08.660 Error happened while attempting to execute 'mvn clean package'. Please make sure [mvn] can be executed on this agent.
如果我mvn clean package
在我的代理中执行,一切正常。怎么了?有没有地方可以看到更具体的日志?