Yes, that's another point I'd like to address: assign a unique ID to tool installations and/or offer a new listener API so job can be reconfigured on change. But this is a distinct issue I plan to investigate later. I guess fixing this crazy "(Default)" behaviour would help me to have a better understanding of possible impacts.
Le jeu. 2 juil. 2015 20:14, Martin Weber <fifteenknots...@gmail.com> a écrit : > Am Mittwoch, 1. Juli 2015, 22:41:55 schrieb nicolas de loof: > > Hi, > > > > User experience when using ToolInstalation is odd. > [...] > > - 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. > +1 > My plugin uses 'InSearchPath' as the name. > > > - 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 > > Maybe I misunderstand this, I prefer to have the build fail if the job's > tool > cannot be detected rather than let Jenkins chose one on its own. > > > - ToolInstallation selector only get displayed on UI when there's more > > than just on installation > > - ToolInstallation should have stable references to/from job tool > selection. > Currently, if you change the name of a tool on the system config page, each > job that uses that tool, forgets which one is selected. > > Martin > > -- > Cd wrttn wtht vwls s mch trsr. > > > -- > 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/1679998.BB3CbPbEGy%40linux > . > 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/CANMVJznuGxAQGQmTHOioZB2pkaJPGjb9VN8RrNmjeAW%3D7m-BJw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.