mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
adding the debug output
This commit is contained in:
1 parent
1348b98673
commit
4934ff3ac6
1 file changed
+8
@@ -82,4 +82,12 @@ public final class WorkUnit {
|
||||
public boolean isMainWork() {
|
||||
return context.task==work;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
if (work==context.task)
|
||||
return super.toString()+"[work="+context.task.getFullDisplayName()+"]";
|
||||
else
|
||||
return super.toString()+"[work="+work+",context.task="+context.task.getFullDisplayName()+"]";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user