From 12a761d2d61c79ac7c255ee278dce40eea75efdd Mon Sep 17 00:00:00 2001 From: Inga Lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Tue, 10 Dec 2013 14:23:36 +0400 Subject: [PATCH] Implemented build-and-test task --- BuildServer/lib/tasks/dotnetbuildandtest.js | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 BuildServer/lib/tasks/dotnetbuildandtest.js diff --git a/BuildServer/lib/tasks/dotnetbuildandtest.js b/BuildServer/lib/tasks/dotnetbuildandtest.js new file mode 100644 index 0000000..d2022d0 --- /dev/null +++ b/BuildServer/lib/tasks/dotnetbuildandtest.js @@ -0,0 +1,22 @@ +"use strict"; + +var sequential = require("./sequential"); +var settings = require("../../settings"); + +module.exports = function (params, processor) { + return sequential({ + tasks: [ + { + type: "dotnetbuild", + name: "build", + params: { + solution: params.solution + } + }, + { + type: "dotnetnunitall", + name: "test" + } + ] + }, processor); +};