mirror of https://github.com/jenkinsci/jenkins.git
fixed a bug revealed by the reduced external job reloading cycle.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1138 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
parent
a0bf5e2390
commit
333833c8f8
|
|
@ -59,6 +59,12 @@ public abstract class ViewJob<JobT extends ViewJob<JobT,RunT>, RunT extends Run<
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
protected void onLoad(Hudson root, String name) throws IOException {
|
||||
super.onLoad(root, name);
|
||||
notLoaded = true;
|
||||
}
|
||||
|
||||
protected SortedMap<Integer,RunT> _getRuns() {
|
||||
if(notLoaded || runs==null) {
|
||||
// if none is loaded yet, do so immediately.
|
||||
|
|
|
|||
Loading…
Reference in New Issue