Ulli Hafner commented on Bug JENKINS-23087

7f979ccc broke PLUGINS_DIR feature. If I run test against some plugins I do not want test suite to change the versions under test in any way.

Hmm, isn't @WithPlugins there to create the subject under test (SUT)? Seems that actually the PLUGIN_DIR feature is broken? If I follow your argumentation, then no plugin should be installed at all using @WithPlugins.

Besides, what version of core or plugins will be is used should be configured per test execution and not by test creator.

And how do I do that? When I start my tests using 'mvn test -DPluginTests' I can't provide the plugin versions to load. The SUT will get populated automatically.

You can still create tests for newer plugins (using the same annotation). The difference is that the test will be skipped if older version is used, instead of silently updating the plugin and creating false impression of successful result.

What is your use case?

See comment above: Jenkins war contains prepackaged plug-ins that are old.

Isn't there a way to get both behaviors? Not changing the PLUGIN_DIR option AND allowing to test new plugins without creating an explicit fixture.

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