1. 29 7月, 2016 3 次提交
    • F
      aeb6ad95
    • V
      [JENKINS-21486] Refactoring · 646969b6
      Vincent Latombe 提交于
      646969b6
    • V
      [JENKINS-21486] Fix plugin dependencies resolution · 43ddbdfc
      Vincent Latombe 提交于
      * Check that dependencies are enabled. A disabled optional dependency
        will not prevent a plugin from loading.
      * Check versions of dependencies declared by a plugin before loading it.
        If any dependency (even optional) is older than what is required,
        then the plugin isn't loaded.
      
      This should prevent use cases where a plugin is loaded but one of its
      dependencies is too old so that :
      * its @Extension annotated classes cannot be loaded, causing the full
        Jenkins to blow up with crapload of exceptions which are tedious to
        investigate to understand the root cause.
      * NoSuchMethodError and the likes at runtime even though boot has
        completed.
      
      Version check (for setups where version list is manually crafted but yet
      works) can be disabled by starting Jenkins with
      
      -Dhudson.PluginWrapper.dependenciesVersionCheck.enabled=true
      
      Minor fixes done while implementing this change :
      * Fix version parsing in PluginWrapper.Dependency
      * Dynamic plugin load didn't check for disabled flag
      43ddbdfc
  2. 30 6月, 2016 1 次提交
  3. 11 5月, 2016 1 次提交
  4. 09 5月, 2016 1 次提交
  5. 17 4月, 2016 1 次提交
  6. 07 4月, 2016 2 次提交
  7. 06 4月, 2016 4 次提交
  8. 01 4月, 2016 3 次提交
  9. 30 3月, 2016 1 次提交
    • V
      [JENKINS-21486] Fix plugin dependencies resolution · d57db1b1
      Vincent Latombe 提交于
      * Check that dependencies are enabled. A disabled optional dependency
        will not prevent a plugin from loading.
      * Check versions of dependencies declared by a plugin before loading it.
        If any dependency (even optional) is older than what is required,
        then the plugin isn't loaded.
      
      This should prevent use cases where a plugin is loaded but one of its
      dependencies is too old so that :
      * its @Extension annotated classes cannot be loaded, causing the full
        Jenkins to blow up with crapload of exceptions which are tedious to
        investigate to understand the root cause.
      * NoSuchMethodError and the likes at runtime even though boot has
        completed.
      
      Version check (for setups where version list is manually crafted but yet
      works) can be disabled by starting Jenkins with
      
      -Dhudson.PluginWrapper.dependenciesVersionCheck.enabled=true
      
      Minor fixes done while implementing this change :
      * Fix version parsing in PluginWrapper.Dependency
      * Dynamic plugin load didn't check for disabled flag
      d57db1b1
  10. 15 2月, 2016 1 次提交
  11. 20 1月, 2016 1 次提交
  12. 06 10月, 2015 1 次提交
  13. 01 10月, 2015 1 次提交
  14. 11 8月, 2015 1 次提交
  15. 17 10月, 2014 1 次提交
    • K
      [FIXED JENKINS-24046] · 19f9b63d
      Kohsuke Kawaguchi 提交于
      Warn users if the pinning is preventing Jenkins from overwriting older versions with bundled versions.
      19f9b63d
  16. 21 5月, 2014 1 次提交
  17. 12 2月, 2014 2 次提交
  18. 11 2月, 2014 2 次提交
  19. 04 2月, 2014 1 次提交
  20. 28 1月, 2014 1 次提交
  21. 20 11月, 2013 1 次提交
    • J
      Better null safety. · 6586d779
      Jesse Glick 提交于
      Defense against an exception consistently thrown when running functional tests against 1.532.1 (but not 1.540, for whatever reason):
      … hudson.PluginWrapper stop
      WARNING: Failed to shut down …
      java.lang.NullPointerException
      	at jenkins.model.Jenkins.lookup(Jenkins.java:3898)
      	at hudson.PluginWrapper.getPlugin(PluginWrapper.java:287)
      	at hudson.PluginWrapper.stop(PluginWrapper.java:377)
      	at hudson.PluginManager.stop(PluginManager.java:650)
      	at org.jvnet.hudson.test.TestPluginManager.reallyStop(TestPluginManager.java:129)
      	at org.jvnet.hudson.test.TestPluginManager.access$000(TestPluginManager.java:55)
      	at org.jvnet.hudson.test.TestPluginManager$1.run(TestPluginManager.java:140)
      6586d779
  22. 12 11月, 2013 1 次提交
    • J
      Reducing message from stop() to FINE. · 7ff65c56
      Jesse Glick 提交于
      Normally this is only printed during functional tests or during in-process restart.
      In neither case do we really want to see a log message (i.e. two lines of text) for each plugin in the system being stopped.
      7ff65c56
  23. 24 8月, 2013 1 次提交
  24. 21 7月, 2013 1 次提交
  25. 10 10月, 2012 1 次提交
  26. 22 5月, 2012 1 次提交
  27. 20 2月, 2012 1 次提交
  28. 04 1月, 2012 1 次提交
  29. 16 11月, 2011 1 次提交
  30. 10 8月, 2011 1 次提交