diff --git a/BuildServer/lib/tasks/dotnetbuild.js b/BuildServer/lib/tasks/dotnetbuild.js index af225c7..2fe2d0e 100644 --- a/BuildServer/lib/tasks/dotnetbuild.js +++ b/BuildServer/lib/tasks/dotnetbuild.js @@ -4,7 +4,8 @@ var dotNetBuilderWrapper = require('./dotnetbuilderwrapper'); module.exports = function (params, processor) { return dotNetBuilderWrapper({ - "SolutionPath": processor.context.exported + "/" + params.solution, - "OutputPath": processor.context.release + "/" + params.solution + "/" + command: "compile", + SolutionPath: processor.context.exported + "/" + params.solution//, +// OutputPath: processor.context.release + "/" + params.solution + "/" }, processor); }; diff --git a/BuildServer/lib/tasks/dotnetbuilderwrapper.js b/BuildServer/lib/tasks/dotnetbuilderwrapper.js index 5ecabad..59ca963 100644 --- a/BuildServer/lib/tasks/dotnetbuilderwrapper.js +++ b/BuildServer/lib/tasks/dotnetbuilderwrapper.js @@ -7,7 +7,7 @@ module.exports = function (params, processor) { process: function () { var result = "", error = "", - builder = spawn("../DotNetBuilder/bin/Debug/MicroBuildServer.DotNetBuilder.exe", ["compile"]); + builder = spawn("../DotNetBuilder/bin/Debug/MicroBuildServer.DotNetBuilder.exe", [params.command]); builder.stdout.on('data', function (data) { result += data;