summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.html2
-rw-r--r--js/main.js3
2 files changed, 4 insertions, 1 deletions
diff --git a/index.html b/index.html
index 5c04113..264e1a3 100644
--- a/index.html
+++ b/index.html
@@ -20,6 +20,8 @@
ng-show="selected">
<h3>{{selected.name}}</h3>
<em>State:</em> {{selected.data.state}}
+ <br />
+ <a ng-href="{{selected.lastBuild.logs[2][1]}}">Last Build Log</a>
</div>
</div>
</div>
diff --git a/js/main.js b/js/main.js
index 162809e..6e67179 100644
--- a/js/main.js
+++ b/js/main.js
@@ -33,7 +33,8 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval)
$http.get(buildsPath).then(function(response) {
var details = {
success: checkInArray(response.data.text, 'successful'),
- failed: checkInArray(response.data.text, 'failed')
+ failed: checkInArray(response.data.text, 'failed'),
+ logs: response.data.logs
};
$scope.steps.push({
name: key,