提交 465877c2 编写于 作者: K kohsuke

[HUDSON-2800] added more logging so that we can see what's really going on.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16540 71c3de6d-444a-0410-be80-ed276b4c234a
上级 45b42649
......@@ -647,6 +647,7 @@ public class UpdateCenter extends AbstractModelObject {
*/
public abstract class UpdateCenterJob implements Runnable {
public void schedule() {
LOGGER.fine("Scheduling "+this+" to installerService");
jobs.add(this);
installerService.submit(this);
}
......@@ -659,6 +660,7 @@ public class UpdateCenter extends AbstractModelObject {
private final Vector<String> statuses= new Vector<String>();
public void run() {
LOGGER.fine("Doing a connectivity check");
try {
String connectionCheckUrl = config.getConnectionCheckUrl();
......@@ -859,6 +861,11 @@ public class UpdateCenter extends AbstractModelObject {
protected void onSuccess() {
pm.pluginUploaded = true;
}
@Override
public String toString() {
return super.toString()+"[plugin="+plugin.title+"]";
}
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册