+1 on Nicolas's proposal, I got hit several times by incorrect slaves
configuration picking up a Maven installation in PATH instead of using one
of the Jenkins-defined installations.

Vincent

2015-07-02 4:57 GMT+02:00 Mark Waite <mark.earl.wa...@gmail.com>:

> I believe the "ToolInstallation" to which he refers is a general purpose
> concept that is used in many plugins.  The git plugin (for example) allows
> the user to define the location of the git program at the system level, and
> per slave.  That allows me to adapt the Jenkins slave for the git that is
> installed on the "D:" drive of one Windows machine, the "C:" drive of
> another Windows machine, and in a completely non-standard location on a
> more exotic machine.
>
> The concept of "ToolInstallation" is likely also applied to the mercurial
> executable, the perforce "p4" executable, and several other external
> tools.  As far as I know, it is not Java specific.
>
> I don't have an opinion on Nicolas' proposal...
>
> Mark Waite
>
> On Wed, Jul 1, 2015 at 7:41 PM Surya Gaddipati <suryapraka...@gmail.com>
> wrote:
>
>> Hi Nicolas,
>>
>> I am a little confused as to what 'ToolInstalation' means.
>>
>> This might obviously my personal opinion. But  Jenkins feels like its too
>> tied to the java world . JDK/Maven versions ect should *not* be part
>> jenkins core.
>>
>> Lots of companies have/are moving from monolithic java/ruby apps to
>> *microservices*  and typically use a wide range of technologies and
>> language versions.
>>
>>
>> Surya
>>
>> On Wednesday, July 1, 2015 at 3:42:20 PM UTC-5, nicolas de loof wrote:
>>>
>>> Hi,
>>>
>>> User experience when using ToolInstalation is odd.
>>>
>>> Most (all but maven afaik) Tools do define a "(Default)" implicit
>>> ToolInstallation, which actually resolves to system PATH
>>> When user wants to make his Jenkins setup predictable, he has to edit
>>> all jobs to ensure specific ToolInstallation is selected. There's no way to
>>> make one the "Default" for new jobs
>>> JDK makes things even stranger as defining one (and only one)
>>> ToolInstallation do change the meaning for "(Default)" to "the sole one
>>> configured"
>>>
>>> I'd like to establish guideline for ToolInstallation and a better UX
>>>
>>>    - When installed/upgraded, ToolInstallation define some explicit
>>>    "System" ToolInstallation to resolve as PATH. Administrator can just 
>>> delete
>>>    it if this makes sense for his setup.
>>>    - ToolInstallation Descriptor define a default installation the
>>>    admin can select from system config UI. This one always get resolve by
>>>    empty ID (i.e. "(Default)"). During install/initial upgrade to a version
>>>    with revisited ToolInstallation behavior, "System" is selected
>>>    - ToolInstallation selector only get displayed on UI when there's
>>>    more than just on installation
>>>
>>> I plan to experiment with this approach on some early development plugin
>>> before I try to apply to existing ones then JDK in jenkins-core
>>>
>>> any thought ?
>>>
>>>
>>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/d28a21db-1fd7-4bc1-a5d6-942fefcf86d4%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/d28a21db-1fd7-4bc1-a5d6-942fefcf86d4%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtG%3DYvx9jJ7-V%3D6dGnbh%2BmC0DiaQ%2BNRZpb9StzRmmgLD1g%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtG%3DYvx9jJ7-V%3D6dGnbh%2BmC0DiaQ%2BNRZpb9StzRmmgLD1g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAH-zGCjxYX1sy4OGp3SppJmK4NSC6Ps0hGQPD7krkmt8JtMXnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to