exec-maven-plugin不会在jenkins中运行shell脚本

时间:2018-03-29 14:47:33

标签: maven jenkins exec-maven-plugin

您尝试使用maven exec插件在我的源代码中运行脚本 它在我的本地机器上构建并运行得很好,但在jenkins上却没有。

这是插件部分

16:17:32 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (default-cli) on project filters: The parameter 'executable' is missing or invalid -> [Help 1]
16:17:32 [ERROR] 
16:17:32 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
16:17:32 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
16:17:32 [ERROR] 
16:17:32 [ERROR] For more information about the errors and possible solutions, please read the following articles:

这是错误

DBMS_UTILITY.FORMAT_ERROR_STACK

我确认/ bin / bash已存在且jenkins用户可以访问它。

1 个答案:

答案 0 :(得分:0)

问题是子项目中父项目的版本错误。不过,对于这样的问题,这并不是最令人失望的错误消息。