[JIRA] (JENKINS-57628) Global tool configuration - MAVEN_HOME issue

2 views
Skip to first unread message

edy_total90@yahoo.com (JIRA)

unread,
May 23, 2019, 5:04:02 AM5/23/19
to jenkinsc...@googlegroups.com
Eduard Costoae created an issue
 
Jenkins / Bug JENKINS-57628
Global tool configuration - MAVEN_HOME issue
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2019-05-23 09:03
Priority: Minor Minor
Reporter: Eduard Costoae

Hello,

 

I have encountered an issue where although i set correct path(in my case /usr/local/maven) to my local maven installation(inside Global Tool Configuration tab) my build fails @ run time with the message "mvn: not found".

 

Workaround to this was the creation of a symlink inside /usr/bin pointing to my mvn binary, this worked because /usr/bin was already present in the PATH variable of jenkins user.

 

My setup:

 

fresh install of Ubuntu 18.04 inside VirtualBox (up to date)

Jenkins Version 2.164.3

Apache Maven Version 3.6.1

 

I hope this is not a duplicate issue, i searched for it but couldn't find any reported.

 

Please let me know if you need any more information.

 

Regards,
Eduard.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages