Skip to content

Commit

Permalink
[JENKINS-47876] fix url of jobs in subfolder of views (#299)
Browse files Browse the repository at this point in the history
when a view includes jobs from subfolder the url is not properly
calculated.
  • Loading branch information
mawinter69 authored Feb 10, 2024
1 parent 6150f43 commit 8ebe2fc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<td class="jenkins-table__cell--tight">
<j:if test="${job.buildable and job.hasPermission(job.BUILD)}">
<div class="jenkins-table__cell__button-wrapper">
<a href="job/${job.name}/schedule" tooltip="${%ScheduleBuildColumn.Title}" class="jenkins-table__button">
<j:set var="href" value="${jobBaseUrl}${job.shortUrl}schedule"/>
<a href="${href}" tooltip="${%ScheduleBuildColumn.Title}" class="jenkins-table__button">
<l:icon src="symbol-calendar-outline plugin-ionicons-api" />
</a>
</div>
Expand Down

0 comments on commit 8ebe2fc

Please sign in to comment.