So you can just do something like
public Run getAssociatedBuild(AbstractBuild build){
String name = build.getProject().getName();
String maybeUpstreamName = name.replaceAll("foo","bar");
AbstractProject upstreamProject =
AbstractProject.findNearest(maybeUpstreamName);
I'm trying to write a plugin. My question is how I can get build
information about a completely different project than the project that will
notify the listener.
So as an example
ProjectA
Build1
Build2
ProjectB
Build4
Build5
When ProjectB reaches on completion for say Build6, I