-
Improvement
-
Resolution: Fixed
-
Major
-
None
@WithPlugins annotation tries to to the right thing in all situations (JENKINS-23087), though there are different use cases when it comes to using existing/latest plugin version.
Introduce configuration for following policies while running tests:
- Never touch version of installed plugin (bundled/prepopulated).
- When installed version is older than version required in @WithPlugins, install latest.
- is related to
-
JENKINS-23087 WithPlugins annotation updates plugin
-
- Resolved
-
Code changed in jenkins
User: Ulli Hafner
Path:
docs/CONTROLLER.md
src/main/java/org/jenkinsci/test/acceptance/junit/WithPlugins.java
http://jenkins-ci.org/commit/acceptance-test-harness/1aedbbcbec207d98a86848648aa45d50abe9f8f3
Log:
[FIXED JENKINS-23093]
JENKINS-23087Fixed WithPlugins annotation.Now existing plugin will be overwritten with newer version if env var
NEVER_REPLACE_EXISTING_PLUGINS is not set.