Maven build fail with "No child processes"
問題
Maven build fail with the following error:
/opt/rh/rh-maven33/root/bin/mvn: fork: retry: No child processes
診断
Running the same maven command manually in the agent's machine works fine.
There is a difference in the environment variables MAVEN2_HOME
and/or M2_HOME
between the build log and agent's machine.
ソリューション
Configure Maven executable path to be /opt/rh/rh-maven33/root/usr/share/maven
at Administration > Build Resources > Executables
最終更新日: 2016 年 10 月 10 日
Powered by Confluence and Scroll Viewport.