Skip to content

Commit

Permalink
[FIXED JENKINS-21739] links to Robot Framework files are now valid fo…
Browse files Browse the repository at this point in the history
…r jobs residing inside folders (i.e. CloudBees Folders plugin). Also verified for trivial jobs and matrix axis.
  • Loading branch information
rdesgroppes committed Jun 16, 2014
1 parent 40039fa commit 6c490c5
Showing 1 changed file with 3 additions and 6 deletions.
Expand Up @@ -76,15 +76,12 @@ limitations under the License.
</tr>
</table>
<p>
<j:if test="${attrs.action.owner.project.parent.name != null}">
<j:set var="matrixprojectname" value="${attrs.action.owner.project.parent.name}/" />
</j:if>
<a href="${rootURL}/job/${matrixprojectname}${attrs.action.owner.project.name}/${attrs.action.owner.number}/${attrs.action.urlName}">&gt; Browse results</a><br />
<a href="${rootURL}/${attrs.action.owner.url}${attrs.action.urlName}">&gt; Browse results</a><br />
<j:if test="${attrs.action.logFileLink != null}">
<a href="${rootURL}/job/${matrixprojectname}${attrs.action.owner.project.name}/${attrs.action.owner.number}/${attrs.action.urlName}/report/${attrs.action.logFileLink}">&gt; Open ${attrs.action.logFileLink}</a><br />
<a href="${rootURL}/${attrs.action.owner.url}${attrs.action.urlName}/report/${attrs.action.logFileLink}">&gt; Open ${attrs.action.logFileLink}</a><br />
</j:if>
<j:if test="${attrs.action.logHtmlLink != null}">
<a href="${rootURL}/job/${matrixprojectname}${attrs.action.owner.project.name}/${attrs.action.owner.number}/${attrs.action.urlName}/report/${attrs.action.logHtmlLink}">&gt; Open ${attrs.action.logHtmlLink}</a><br />
<a href="${rootURL}/${attrs.action.owner.url}${attrs.action.urlName}/report/${attrs.action.logHtmlLink}">&gt; Open ${attrs.action.logHtmlLink}</a><br />
</j:if>
</p>
</j:jelly>

0 comments on commit 6c490c5

Please sign in to comment.