Ulli Hafner commented on Bug JENKINS-23087

All I propose is, if there is the plugin already installed (in version that satisfies version constraint) we should keep it as it is. Otherwise install latest version, not the exact version from @WithPlugins. This effectively changes the semantics of version to minimal version.

Good, then we have the same use case. But your implemented algorithm does work differently or am I missing something?
Your algorithm:

if not installed
  install latest version from update center
  if this version is older than required
    fail the test
else
  if this version is older than required
    skip the test

Our required algorithm:

if not installed
  install latest version from update center
  if this version is older than required
    fail the test
else
  if this version is older than required
    install latest version from update center
    if this version is older than required
      fail the test

Otherwise I don't see a way to load a plug-in with a newer version than the bundled version.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to