Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from fbelzunc/JENKINS-26489
[FIXED JENKINS-26489] Action report for the bitbucket polling log on web UI
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
.../com/cloudbees/jenkins/plugins/BitBucketTrigger/BitBucketWebHookPollingAction/index.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
<l:layout> | ||
<st:include it="${it.owner}" page="sidepanel.jelly" /> | ||
<l:main-panel> | ||
<h1>${%Last BitBucket Push}</h1> | ||
<j:set var="log" value="${it.log}" /> | ||
<j:choose> | ||
<j:when test="${empty(log)}"> | ||
${%Polling has not run yet.} | ||
</j:when> | ||
<j:otherwise> | ||
<pre> | ||
<st:getOutput var="output" /> | ||
<j:whitespace>${it.writeLogTo(output)}</j:whitespace> | ||
</pre> | ||
</j:otherwise> | ||
</j:choose> | ||
</l:main-panel> | ||
</l:layout> | ||
</j:jelly> |