I get the following error while executing Jenkins build on slave servers. On the main server, the assembly worked fine.
ERROR: Maven Home /bgl-build-1/usr/local/maven doesn?t exist
My setup consists of one Master and two slave servers. Maven is installed on the core server. A slave creature has a maven. The setup worked well before. Getting this error in the last two days,
The slave device ".bashrc" file contains the maven path installed on the core server.
export EDITOR=/usr/bin/vim export BGL_BUILD_1=/bgl-build-1 export JAVA_HOME=$BGL_BUILD_1/usr/java/default export M2_HOME=$BGL_BUILD_1/usr/local/apache-maven-2.2.1 export PATH="$BGL_BUILD_1/usr/local/bin:$BGL_BUILD_1/usr/local/maven/bin:$BGL_BUILD_1/usr/java/default/bin:$PATH"; export PATH="/bgl-build-1/usr/local/maven/bin:$PATH";
I mentioned a similar post reg this issue I have a problem setting jenkins in slave using maven (Maven home does not exist)
My question is do I need to have maven on all servers (including slave), or am I missing some reg reg and slave setup settings in Jenkins.
My Jenkins Version is 1.582
Maven Version - 2.2.1
source share