|
||||||||
|
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.

PLUGINS_DIR is useful for upgrade tests, verify certain jenkins build and plugin builds work together. Perhaps there is a better way to achieve the same.
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.
There is no convenient way to do that for now, aside from putting {{.hpi}}s to PLUGINS_DIR first.
Sure, but if we are shipping weekly/stable release with buggy bundled plugin tests should fail. If we allow test creator to download plugin version with fix we are hiding the fact we ship broken plugin.
Though, I agree it make sense to run the tests with latest released versions too. Perhaps it should be configurable.