mirror of https://github.com/jenkinsci/jenkins.git
bug fix.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5568 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
parent
8e8b119707
commit
2b66e17ef8
|
|
@ -460,9 +460,7 @@ public class Functions {
|
|||
result.add(b);
|
||||
} else {
|
||||
// old plugins built before 1.150 may not implement BuildStepDescriptor
|
||||
if(project instanceof Project) {
|
||||
result.add(b);
|
||||
}
|
||||
result.add(b);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
|
|||
|
|
@ -32,8 +32,7 @@ public class BuildWrappers {
|
|||
result.add(bwd);
|
||||
} else {
|
||||
// old BuildWrapper that doesn't implement BuildWrapperDescriptor
|
||||
if(project instanceof Project)
|
||||
result.add(w);
|
||||
result.add(w);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Reference in New Issue