diff options
author | Adam Coldrick <adam@sotk.co.uk> | 2015-09-26 19:19:16 +0100 |
---|---|---|
committer | Adam Coldrick <adam@sotk.co.uk> | 2015-09-28 20:26:11 +0100 |
commit | a44fe25d73abfdbd691f27e0e35008f4080f3685 (patch) | |
tree | 368030314e7bfc5692e329b605587ebd7daa9281 | |
parent | 42a7acd601c949d57e25d3c31d806fd31ee443c9 (diff) | |
download | ciat-ui-a44fe25d73abfdbd691f27e0e35008f4080f3685.tar.gz |
Initial log link
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | js/main.js | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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> @@ -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, |