|
We have a multijob project where all the jobs live in a folder, 'Foo_Build'. When we use the multijob plugin, it all runs just fine. But when we look at the results for an individual build, there are links that are broken.
At the bottom of the build page, there is a nice table with the steps broken up by build phase. The second column is supposed to be a link to the project page for that step, and the next column is a link to the actual build that ran.
The problem is the second column, the link to the project page, is missing the folder name. So, instead of 'http://server/job/Foo_Build/job/Setup/', we get 'http://server/job/Setup'.
The issue would seem ti be in the main.jelly, with:
<td class="no-wrap" width="50%">
<a href="">${builder.jobName}</a>
</td>
The next colukmn, which is correct, is:
<td class="no-wrap" width="15%">
<j:choose>
<j:when test="${builder.url.length() > 0}">
<a href="">
build #${builder.buildNumber}
</a>
</j:when>
</j:choose>
</td>
So what we need in the link to the project would be something like ${builder.url}, without the build number on the end, but I'm not sure which data member gets us there.
For now I worked around it by disabling that link altogether. It's confusing to users anyway, but that's now a customization I need to maintain going forward.
|