it will be available to the build jobs but not affect the ordinary users.
Try running a build job with a maven build step and see what that reports


On 14 December 2012 17:09, zw <mpc8...@gmail.com> wrote:

> Hi Stephen thanks for responding.
> Unfortunately the Maven version from the Jenkins drop down list shows
> 3.0.4, when we check the version directly it is using
> [root@A bin]# ./mvn --version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
>
> and we need
> Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800)
>
> Do you have suggestions on what we should copy over to what we already
> have on the slaves and the Jenkins box itself ?
>
>
> On Friday, December 14, 2012 9:03:03 AM UTC-8, Stephen Connolly wrote:
>
>> [aside]There we have a perfect example of somebody presuming there is a
>> lot of work to do and going and doing half of it up front[/aside]
>>
>> Jenkins has this lovely tool auto installation feature. You just tell
>> Jenkins the Maven versions you need and ask it to do the downloading from
>> the Apache web site and... presto... all the slaves will get that version
>> of Maven and you don;t need to worry about paths at all
>>
>> -Stephen
>>
>>
>> On 14 December 2012 16:53, Z W <mpc...@gmail.com> wrote:
>>
>>> Hi
>>>
>>> We downloaded Maven 3.0.4 binary from the apache web site.
>>> We have a distributed network where Jenkins is in one linux box A with
>>> 2 slaves on the other 2 linux boxes, named B and C.
>>> We untar the maven file in box A and configured Jenkins to NOT install
>>> automatically and point maven home in /path/to/maven/home
>>> We saw that the slaves each already has maven
>>>
>>> [root@B bundled-maven]# pwd
>>> /slave/path/to/maven/**slavebundle/bundled-maven
>>> [root@B bundled-maven]# cd ..
>>> [root@B slavebundle]# ls
>>> bundled-maven  lib  resources
>>> [root@B slavebundle]# ls -lrt
>>> total 12
>>> drwxr-xr-x 2 root root 4096 Nov 21 17:44 resources
>>> drwxr-xr-x 6 root root 4096 Nov 21 17:44 bundled-maven
>>> drwxr-xr-x 2 root root 4096 Nov 21 17:44 lib
>>> [root@B slavebundle]# ls -lrt resources/
>>> total 4
>>> -rw-r--r-- 1 root root 2306 Dec  6  2011 logback.xml
>>> [root@B slavebundle]# ls -lrt lib
>>> total 724
>>> -rw-r--r-- 1 root root  53889 Dec  6  2011 maven3-eventspy-3.0.jar
>>> -rw-r--r-- 1 root root 680009 Dec  6  2011 maven3-eventspy-runtime.jar
>>> [root@B slavebundle]# ls -lrt bundled-maven/
>>> total 36
>>> -rw-r--r-- 1 root root  2559 Feb 28  2011 README.txt
>>> -rw-r--r-- 1 root root  1030 Feb 28  2011 NOTICE.txt
>>> -rw-r--r-- 1 root root 11560 Feb 28  2011 LICENSE.txt
>>> drwxr-xr-x 2 root root  4096 Nov 21 17:44 boot
>>> drwxr-xr-x 2 root root  4096 Nov 21 17:44 bin
>>> drwxr-xr-x 2 root root  4096 Nov 21 17:44 conf
>>> drwxr-xr-x 3 root root  4096 Nov 21 17:44 lib
>>> [root@B slavebundle]# pwd
>>> /slave/path/to/maven/**slavebundle
>>> [root@B slavebundle]#
>>>
>>> 1- Must we install our new Maven on each of the slaves separately ?
>>> 2- How do we force Jenkins to new the new Maven on the slaves and
>>> Jenkins box A ?
>>> 3- What must we configure in Manage Jenkins Maven 3 section to make
>>> sure that all the boxes are using the same Maven 3.0.4 ?
>>> 4- Must we copy ourselves manually to the slaves in
>>> /slave/path/to/maven/**slavebundle and remove the older ones ?
>>>
>>> Thanks
>>>
>>
>>

Reply via email to