Maven build fail with "No child processes"
Problem
Maven build fail with the following error:
/opt/rh/rh-maven33/root/bin/mvn: fork: retry: No child processes
Diagnosis
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.
Resolution
Configure Maven executable path to be /opt/rh/rh-maven33/root/usr/share/maven
at Administration > Build Resources > Executables
Last modified on Oct 10, 2016
Powered by Confluence and Scroll Viewport.