1. 29 9月, 2015 1 次提交
  2. 07 7月, 2015 2 次提交
  3. 20 4月, 2015 1 次提交
  4. 30 12月, 2014 1 次提交
  5. 28 4月, 2014 1 次提交
  6. 28 3月, 2014 1 次提交
  7. 11 3月, 2014 1 次提交
  8. 24 12月, 2013 1 次提交
  9. 29 10月, 2013 1 次提交
    • R
      [FIXES JENKINS-19622] Replace hudson.model.Trigger#timer with... · 565ced0d
      Ryan Campbell 提交于
      [FIXES JENKINS-19622] Replace hudson.model.Trigger#timer with jenkins.util.Timer, which exposes a ScheduledExecutorService. Up to 10 additional threads will be created to run pending tasks even if running tasks are blocked.
      
      Also, move static initialization of timers to the classes which require them.
      565ced0d
  10. 21 9月, 2012 1 次提交
    • J
      Null safety of Trigger.timer. · f5a78695
      Jesse Glick 提交于
      A botched startup (say by an error in InitializerFinder) can cause log to be filled with junk like:
      Sep 20, 2012 1:10:50 PM hudson.ExtensionFinder$GuiceFinder instantiate
      WARNING: Failed to load hudson.node_monitors.DiskSpaceMonitor
      java.lang.InstantiationException: java.lang.ExceptionInInitializerError
      	at net.java.sezpoz.IndexItem.instance(IndexItem.java:193)
      	at hudson.ExtensionFinder$GuiceFinder.instantiate(ExtensionFinder.java:353)
      	at hudson.ExtensionFinder$GuiceFinder.access$400(ExtensionFinder.java:232)
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule$1.get(ExtensionFinder.java:509)
      	at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
      	at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
      	at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66)
      	at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:59)
      	at hudson.ExtensionFinder$GuiceFinder$4$1.get(ExtensionFinder.java:420)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
      	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
      	at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:389)
      	at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:380)
      	at hudson.ExtensionFinder._find(ExtensionFinder.java:149)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289)
      	at hudson.ExtensionList.load(ExtensionList.java:278)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
      	at hudson.ExtensionList.getComponents(ExtensionList.java:149)
      	at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:182)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
      	at hudson.ExtensionList.size(ExtensionList.java:157)
      	at java.util.AbstractCollection.isEmpty(AbstractCollection.java:86)
      	at hudson.model.labels.LabelAtom.updateTransientActions(LabelAtom.java:107)
      	at hudson.model.labels.LabelAtom.load(LabelAtom.java:189)
      	at jenkins.model.Jenkins.getLabelAtom(Jenkins.java:1545)
      	at jenkins.model.Jenkins.getSelfLabel(Jenkins.java:2422)
      	at hudson.model.Node.getAssignedLabels(Node.java:240)
      	at jenkins.model.Jenkins$17.run(Jenkins.java:2499)
      	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:875)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      	at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.ExceptionInInitializerError
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at net.java.sezpoz.IndexItem.instance(IndexItem.java:183)
      	... 41 more
      Caused by: java.lang.NullPointerException
      	at hudson.node_monitors.AbstractNodeMonitorDescriptor.schedule(AbstractNodeMonitorDescriptor.java:73)
      	at hudson.node_monitors.AbstractNodeMonitorDescriptor.<init>(AbstractNodeMonitorDescriptor.java:58)
      	at hudson.node_monitors.AbstractNodeMonitorDescriptor.<init>(AbstractNodeMonitorDescriptor.java:54)
      	at hudson.node_monitors.DiskSpaceMonitorDescriptor.<init>(DiskSpaceMonitorDescriptor.java:49)
      	at hudson.node_monitors.DiskSpaceMonitor$1.<init>(DiskSpaceMonitor.java:62)
      	at hudson.node_monitors.DiskSpaceMonitor.<clinit>(DiskSpaceMonitor.java:62)
      	... 46 more
      f5a78695
  11. 06 9月, 2012 1 次提交
  12. 07 4月, 2012 1 次提交
  13. 05 1月, 2012 1 次提交
  14. 29 5月, 2011 2 次提交
  15. 20 4月, 2011 1 次提交
  16. 17 2月, 2011 1 次提交
  17. 07 1月, 2011 1 次提交
    • K
      Revert "Removed unused import." · 4e620598
      Kohsuke Kawaguchi 提交于
      This reverts commit becb2768.
      
      Conflicts:
      
      	core/src/main/java/hudson/init/InitializerFinder.java
      	core/src/main/java/hudson/matrix/AxisList.java
      
      While looking at PollingResult I noticed that import statements used in
      javadoc are removed.
      4e620598
  18. 11 10月, 2010 1 次提交
  19. 23 9月, 2010 1 次提交
  20. 28 8月, 2010 1 次提交
  21. 14 1月, 2010 1 次提交
  22. 24 11月, 2009 1 次提交
    • K
      Merged revisions... · fd13eee6
      kohsuke 提交于
      Merged revisions 23666-23667,23670,23711,23782-23785,23788,23809-23810,23817,23859,23870,23879,23899-23904,23906-23907,23909,23913 via svnmerge from 
      https://www.dev.java.net/svn/hudson/branches/managed-startup
      
      ........
        r23666 | kohsuke | 2009-11-11 15:56:46 -0800 (Wed, 11 Nov 2009) | 1 line
        
        Reworked the initialization logic
      ........
        r23667 | kohsuke | 2009-11-11 16:01:56 -0800 (Wed, 11 Nov 2009) | 1 line
        
        fixed a failing test
      ........
        r23670 | kohsuke | 2009-11-11 16:42:32 -0800 (Wed, 11 Nov 2009) | 1 line
        
        use a non-snapshot
      ........
        r23711 | kohsuke | 2009-11-13 14:27:28 -0800 (Fri, 13 Nov 2009) | 1 line
        
        Session -> Reactor
      ........
        r23782 | kohsuke | 2009-11-17 10:35:14 -0800 (Tue, 17 Nov 2009) | 1 line
        
        Poorman's clone of JDK6 ServiceLoader.
      ........
        r23783 | kohsuke | 2009-11-17 10:56:25 -0800 (Tue, 17 Nov 2009) | 1 line
        
        Integrated the fatal support so that all errors are sent to the listener.
      ........
        r23784 | kohsuke | 2009-11-17 10:58:07 -0800 (Tue, 17 Nov 2009) | 1 line
        
        with the new reactor initialization, things are getting too verbose
      ........
        r23785 | kohsuke | 2009-11-17 11:18:45 -0800 (Tue, 17 Nov 2009) | 1 line
        
        failing to load jobs are non-fatal, too
      ........
        r23788 | kohsuke | 2009-11-17 13:18:59 -0800 (Tue, 17 Nov 2009) | 1 line
        
        logging the exception properly
      ........
        r23809 | kohsuke | 2009-11-17 18:45:47 -0800 (Tue, 17 Nov 2009) | 1 line
        
        releasing 1.1 as milestone
      ........
        r23810 | kohsuke | 2009-11-17 18:47:37 -0800 (Tue, 17 Nov 2009) | 2 lines
        
        - use a better idiom for building a sequence
        - use null display name to signify internal book-keeping tasks that's not worth displaying
      ........
        r23817 | kohsuke | 2009-11-18 07:54:17 -0800 (Wed, 18 Nov 2009) | 1 line
        
        removed accidental JDK6 dependency.
      ........
        r23859 | kohsuke | 2009-11-19 11:03:28 -0800 (Thu, 19 Nov 2009) | 1 line
        
        introducing the strategy pattern to hook into key decision making points during the start up
      ........
        r23870 | kohsuke | 2009-11-19 14:33:07 -0800 (Thu, 19 Nov 2009) | 1 line
        
        bug fix. These steps add additional tasks to the reactor, so they need to also prevent future milestones from getting attained.
      ........
        r23879 | kohsuke | 2009-11-19 16:54:59 -0800 (Thu, 19 Nov 2009) | 1 line
        
        moved the logic to the strategy.
      ........
        r23899 | kohsuke | 2009-11-20 09:32:13 -0800 (Fri, 20 Nov 2009) | 1 line
        
        handle duplicate plugins better
      ........
        r23900 | kohsuke | 2009-11-20 10:06:42 -0800 (Fri, 20 Nov 2009) | 1 line
        
        support pre-exploded plugin
      ........
        r23901 | kohsuke | 2009-11-20 10:49:04 -0800 (Fri, 20 Nov 2009) | 1 line
        
        making it a subtype
      ........
        r23902 | kohsuke | 2009-11-20 10:54:42 -0800 (Fri, 20 Nov 2009) | 1 line
        
        allow InitStrategy to skip some tasks
      ........
        r23903 | kohsuke | 2009-11-20 11:03:38 -0800 (Fri, 20 Nov 2009) | 1 line
        
        doc improvement.
      ........
        r23904 | kohsuke | 2009-11-20 11:03:49 -0800 (Fri, 20 Nov 2009) | 1 line
        
        no need to throw exceptions
      ........
        r23906 | kohsuke | 2009-11-20 11:17:34 -0800 (Fri, 20 Nov 2009) | 1 line
        
        debug switch to disable the automatic launch of slaves
      ........
        r23907 | kohsuke | 2009-11-20 11:25:15 -0800 (Fri, 20 Nov 2009) | 1 line
        
        added a magic object for cancelling all saves
      ........
        r23909 | kohsuke | 2009-11-20 11:29:53 -0800 (Fri, 20 Nov 2009) | 1 line
        
        moving initialization up
      ........
        r23913 | kohsuke | 2009-11-20 13:32:08 -0800 (Fri, 20 Nov 2009) | 1 line
        
        seeing heap space problem during tests
      ........
      
      
      git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23992 71c3de6d-444a-0410-be80-ed276b4c234a
      fd13eee6
  23. 25 9月, 2009 1 次提交
  24. 30 4月, 2009 1 次提交
  25. 31 3月, 2009 2 次提交
  26. 21 3月, 2009 3 次提交
  27. 18 3月, 2009 1 次提交
  28. 25 2月, 2009 1 次提交
  29. 07 2月, 2009 1 次提交
  30. 28 1月, 2009 2 次提交
  31. 09 8月, 2008 1 次提交
  32. 24 7月, 2008 1 次提交
    • K
      no need to have the initialization code in a separate place. · b355a8c7
      kohsuke 提交于
      This should fix the unit test failures in twitter4j I'm seeing at:
      
      -------------------------------------------------------------------------------
      Test set: hudson.plugins.twitter.ShouldIncludeURLTest
      -------------------------------------------------------------------------------
      Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.389 sec <<< FAILURE!
      testTrueInDescriptor(hudson.plugins.twitter.ShouldIncludeURLTest)  Time elapsed: 0.358 sec  <<< ERROR!
      java.lang.ExceptionInInitializerError
      	at hudson.plugins.twitter.ShouldIncludeURLTest.setUp(ShouldIncludeURLTest.java:41)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
      	at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
      	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
      	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
      	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
      	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
      	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
      	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
      	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
      	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
      	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
      Caused by: java.lang.NullPointerException
      	at hudson.model.Queue$MaintainTask.<init>(Queue.java:928)
      	at hudson.model.Queue.<init>(Queue.java:195)
      	at hudson.model.Hudson.<init>(Hudson.java:144)
      	at hudson.plugins.twitter.HudsonUtil.<clinit>(HudsonUtil.java:32)
      	... 25 more
      
      
      git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10993 71c3de6d-444a-0410-be80-ed276b4c234a
      b355a8c7
  33. 22 7月, 2008 1 次提交
    • K
      Merged revisions... · 1b229432
      kohsuke 提交于
      Merged revisions 9727,9739,9765-9766,9927,10332,10334-10338,10340,10416,10421,10553,10839-10845,10876 via svnmerge from 
      https://www.dev.java.net/svn/hudson/branches/tom
      
      ........
        r9727 | huybrechts | 2008-05-31 12:49:18 -0700 (Sat, 31 May 2008) | 3 lines
        
        Issue 1659
        - cleaning up static Trigger, Hudson instances
        - resetting commons-logging
      ........
        r9739 | huybrechts | 2008-06-01 12:05:51 -0700 (Sun, 01 Jun 2008) | 1 line
        
        #1770 catching and logging InstantiationError
      ........
        r9765 | huybrechts | 2008-06-02 11:34:45 -0700 (Mon, 02 Jun 2008) | 1 line
        
        project-based security: fixed a new isAdmin call
      ........
        r9766 | huybrechts | 2008-06-02 11:35:27 -0700 (Mon, 02 Jun 2008) | 1 line
        
        "theInstance = null" caused some reloading problems
      ........
        r9927 | huybrechts | 2008-06-07 15:31:20 -0700 (Sat, 07 Jun 2008) | 8 lines
        
        Initial commit of parameterized builds. Provided functionality:
        - users can define parameters per project (only string paramters for now)
        - if a project has parameters, the 'build' button will redirect to an input page
        - parameter values can be used as ${variable} in Ant, Maven and CommandInterpreter builders
        - after the build, parameter values can be viewed in a separate page
        - tasks for parameterized builds are persisted in the queue over restarts
        - queue persistence is now in XML (with backwards compatibility for text format)
      ........
        r10332 | huybrechts | 2008-06-23 05:32:45 -0700 (Mon, 23 Jun 2008) | 1 line
        
        made EmbedderLoggerImpl public for use in plugins
      ........
        r10334 | huybrechts | 2008-06-23 05:48:10 -0700 (Mon, 23 Jun 2008) | 1 line
        
        [HUDSON-1914] additional parameter types (job, run), bugfixes
      ........
        r10335 | huybrechts | 2008-06-23 05:49:10 -0700 (Mon, 23 Jun 2008) | 1 line
        
        [HUDSON-1573] initialize servlet filters
      ........
        r10336 | huybrechts | 2008-06-23 05:52:14 -0700 (Mon, 23 Jun 2008) | 1 line
        
        [HUDSON-1915] onStarted onevent
      ........
        r10337 | huybrechts | 2008-06-23 06:07:32 -0700 (Mon, 23 Jun 2008) | 4 lines
        
        [HUDSON-1504] basic ui for job-based access control
        
        This allows assigning permissions per user and per job.
        It is still possible to provide defaults using a global matrix.
      ........
        r10338 | huybrechts | 2008-06-23 06:18:13 -0700 (Mon, 23 Jun 2008) | 3 lines
        
        [HUDSON-1504] basic ui for job-based access control
        
        adding it to the list...
      ........
        r10340 | huybrechts | 2008-06-23 07:23:12 -0700 (Mon, 23 Jun 2008) | 1 line
        
        [HUDSON-1504] fix compile error
      ........
        r10416 | huybrechts | 2008-06-25 01:13:11 -0700 (Wed, 25 Jun 2008) | 1 line
        
        initial commit staging plugin: supports doing a maven release to a staging repository, serving that repository for Hudson, and uploading it on demand
      ........
        r10421 | huybrechts | 2008-06-25 12:32:06 -0700 (Wed, 25 Jun 2008) | 1 line
        
        [HUDSON-1954] initial commit jbpm plugin and staging workflow example
      ........
        r10553 | huybrechts | 2008-07-01 14:13:57 -0700 (Tue, 01 Jul 2008) | 1 line
        
        moving registration for parameter definition out of registered class
      ........
        r10839 | kohsuke | 2008-07-15 13:48:05 -0700 (Tue, 15 Jul 2008) | 6 lines
        
        Making a few adjustments in preparation of merging back to the trunk.
        
        - doc updates
        - added QueueTaskFilter as a plain delegation implementation to simplify ParameterizedProjectTask.
        - renamed ParameterDefinition.newInstance(...) to createValue, to avoid having two newInstance methods
          in this part of the system that does different things
      ........
        r10840 | kohsuke | 2008-07-15 13:51:16 -0700 (Tue, 15 Jul 2008) | 1 line
        
        Hudson's coding convention is to use WS and no TAB.
      ........
        r10841 | kohsuke | 2008-07-15 14:34:37 -0700 (Tue, 15 Jul 2008) | 2 lines
        
        - making ParameterValue an abstract class to allow evolution without breaking plugins in the future
        - tweaked the UI a bit so that parameterization don't get too much visibility.
      ........
        r10842 | kohsuke | 2008-07-15 14:49:35 -0700 (Tue, 15 Jul 2008) | 2 lines
        
        improving the UI a bit.
        Added an icon
      ........
        r10843 | kohsuke | 2008-07-15 15:08:28 -0700 (Tue, 15 Jul 2008) | 1 line
        
        adding help
      ........
        r10844 | kohsuke | 2008-07-15 15:10:42 -0700 (Tue, 15 Jul 2008) | 1 line
        
        TAB->WS
      ........
        r10845 | kohsuke | 2008-07-15 15:44:47 -0700 (Tue, 15 Jul 2008) | 2 lines
        
        - Use HTTP status code to notify the automated clients that the build triggering failed.
        - Overload the "/build" URL to render the parameter entry form.
      ........
        r10876 | kohsuke | 2008-07-18 13:52:51 -0700 (Fri, 18 Jul 2008) | 10 lines
        
        Giving more hooks to ParameterValue to affect a build
        
         - abstracting the variable substitution process so that the actual syntax for marking
           variables (e.g., %VAR% vs ${var} vs #{xyz}) and the actual resolution process are
           orthogonal.
        
         - parameter values can now contribute BuildWrapper to a build.
        
         - parameter values can now contribute environment variables to a build.
      ........
      
      
      git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10950 71c3de6d-444a-0410-be80-ed276b4c234a
      1b229432
  34. 02 7月, 2008 1 次提交