Hi hagzag,
My apologies for unclear explanation. Let me explain in more detail:
Say we have the following job configuration:
Suppose this job was executed and it resulted in build MultiJob1 #1 which in turn executed build MyFolder/Job1 #5.
Now, say we write some Java/Groovy code that needs to access this information. For instance, in my specific case I was designing some Email generating code. The code has reference to MultiJobBuild object describing MultiJob1 #1:
MultiJobBuild build1;
SubBuild subBuild = build1.getBuilders().get(0);
I want to obtain AbstractBuild object describing MyFolder/Job1 #5 basing on the information in subBuild. But how can I do it? As far as I understand there is no enough info for that in the SubBuild object.
Best,
Vasili
hagzag Haggai, any chance you can take a look on this? Many thanks! Vasili