mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
resettting trigger from Hudson
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11347 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
d2dbaee304
commit
1512ac072f
2 files changed
+5
-1
No files matched your search
@@ -123,6 +123,7 @@ import java.util.StringTokenizer;
|
||||
import java.util.TreeSet;
|
||||
import java.util.Vector;
|
||||
import java.util.Iterator;
|
||||
import java.util.Timer;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
@@ -323,6 +324,7 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node,
|
||||
if(theInstance!=null)
|
||||
throw new IllegalStateException("second instance");
|
||||
theInstance = this;
|
||||
Trigger.timer = new Timer("Hudson cron thread");
|
||||
|
||||
try {
|
||||
dependencyGraph = DependencyGraph.EMPTY;
|
||||
|
||||
@@ -202,8 +202,10 @@ public abstract class Trigger<J extends Item> implements Describable<Trigger<?>>
|
||||
/**
|
||||
* This timer is available for all the components inside Hudson to schedule
|
||||
* some work.
|
||||
*
|
||||
* Initialized and cleaned up by {@link Hudson}, but value kept here for compatibility.
|
||||
*/
|
||||
public static Timer timer = new Timer("Hudson cron thread");
|
||||
public static Timer timer;
|
||||
|
||||
public static void init() {
|
||||
long MIN = 1000*60;
|
||||
|
||||
Reference in new issue
Block a user