Skip to content
  1. Apr 05, 2016
  2. Apr 04, 2016
  3. Apr 03, 2016
  4. Apr 01, 2016
  5. Mar 31, 2016
  6. Mar 30, 2016
    • Jesse Glick's avatar
      Merge pull request #2188 from jglick/flakiness · c54c363b
      Jesse Glick authored
      Use rerunFailingTestsCount rather than @RandomlyFails
      c54c363b
    • Vincent Latombe's avatar
      [JENKINS-21486] Fix plugin dependencies resolution · d57db1b1
      Vincent Latombe authored
      * 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
  7. Mar 29, 2016
  8. Mar 28, 2016
  9. Mar 26, 2016
    • Kohsuke Kawaguchi's avatar
      Doc improvements · 17770699
      Kohsuke Kawaguchi authored
      17770699
    • Kohsuke Kawaguchi's avatar
      Simplified by using instance methods · a82238b8
      Kohsuke Kawaguchi authored
      a82238b8
    • Kohsuke Kawaguchi's avatar
      The previous change requires that Guice is setup · 1bc7f621
      Kohsuke Kawaguchi authored
      ... which is done by looking for locating & instantiating ExtensionFinders.
      1bc7f621
    • Kohsuke Kawaguchi's avatar
      Allow instance methods for @Initializer and @Terminator · 199dfed4
      Kohsuke Kawaguchi authored
      This simplifies typical usage of them.
      199dfed4
    • Kohsuke Kawaguchi's avatar
      NioChannelHub must be explicitly shut down · 2579ceaf
      Kohsuke Kawaguchi authored
      ... or else it'll keep running. This can be seen as a large number of zombie threads like the following in the unit test:
      
      "NioChannelHub keys=0 gen=0: Computer.threadPoolForRemoting [#250]" daemon prio=10 tid=0x00007f793d841000 nid=0x3cc1 runnable [0x00007f78e2665000]
         java.lang.Thread.State: RUNNABLE
              at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
              at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:228)
              at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:81)
              at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87)
              - locked <0x00000000c50d46d8> (a sun.nio.ch.Util$2)
              - locked <0x00000000c50d46e8> (a java.util.Collections$UnmodifiableSet)
              - locked <0x00000000c50d4690> (a sun.nio.ch.EPollSelectorImpl)
              at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98)
              at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:102)
              at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:542)
              at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
              at java.util.concurrent.FutureTask.run(FutureTask.java:166)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:722)
      2579ceaf
    • Jesse Glick's avatar
Loading