mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
[JENKINS-20609] test case
This commit is contained in:
1 parent
0c5338dff2
commit
3b0e6ac02a
3 files changed
+125
-8
No files matched your search
@@ -72,7 +72,7 @@ import static java.util.logging.Level.*;
|
||||
*
|
||||
* @author Kohsuke Kawaguchi
|
||||
*/
|
||||
public final class WebAppMain implements ServletContextListener {
|
||||
public class WebAppMain implements ServletContextListener {
|
||||
private final RingBufferLogHandler handler = new RingBufferLogHandler() {
|
||||
@Override public synchronized void publish(LogRecord record) {
|
||||
if (record.getLevel().intValue() >= Level.INFO.intValue()) {
|
||||
@@ -251,6 +251,10 @@ public final class WebAppMain implements ServletContextListener {
|
||||
}
|
||||
}
|
||||
|
||||
public void joinInit() throws InterruptedException {
|
||||
initThread.join();
|
||||
}
|
||||
|
||||
/**
|
||||
* To assist boot failure script, record the number of boot attempts.
|
||||
* This file gets deleted in case of successful boot.
|
||||
|
||||
Reference in new issue
Block a user