Hello, i have a problem tired found root of problem. jenkins 1.463 (and all
~20 earlier) setuped on rhel via rpm.
System haven't installed maven and MAVEN_HOME variable.
Jenkins was moved from jenkins system user folder to /opt/jenkins.
Problem is for:
1) freestyle project (root maven exection and invoke maven (what
difference?))
2) post build step "invoke maven" in maven2/3 style project.

In settings i have maven 3.0.4 with name "maven" that was installed
sucessfully (by maven Build step in maven2/3 project).
- When i use this "maven" in 1), 2) variants they print maven home doesn't
set.
- When i add new maven in project setting and try to use in 1), 2) maven is
not trying to install and print about home dir...

As i see in code getHome is null, but mvninstallation not.
1) How getHome work?
2) Any ideas?

PS also replied in #JENKINS-12951

Reply via email to