From f89e9a8baba97cf74d70e0d010853d8ec58bb8f9 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Wed, 30 Sep 2015 10:39:23 +0100 Subject: Add publish boxes to the publishing lane --- js/main.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'js') diff --git a/js/main.js b/js/main.js index 98c7c31..04e9bc9 100644 --- a/js/main.js +++ b/js/main.js @@ -39,6 +39,7 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval) $scope.builds = []; $scope.deploys = []; $scope.tests = []; + $scope.publishings = []; $http.get(apiBase + '/builders') .then(function(builders) { angular.forEach(builders.data, function(value, key) { @@ -88,6 +89,13 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval) data: value }); } + else if(key.indexOf("Publishing") > -1) { + $scope.publishings.push({ + name: key, + lastBuild: details, + data: value + }); + } -- cgit v1.2.1