Add an endpoint for downloading the logs of a build.

This commit is contained in:
Joseph Schorr 2015-05-26 17:22:30 -04:00
parent 2464124f62
commit 9888c3ad9b
3 changed files with 53 additions and 2 deletions

View file

@ -3,6 +3,12 @@
<i class="fa fa-clipboard"></i>Copy Logs
</button>
<a id="downloadButton" class="btn btn-primary download-button"
ng-href="/buildlogs/{{ currentBuild.id }}"
target="_blank">
<i class="fa fa-download"></i>Download Logs
</a>
<span class="cor-loader" ng-if="!logEntries"></span>
<span class="no-logs" ng-if="!logEntries.length && currentBuild.phase == 'waiting'">