protected override void InitializeTool() =>
 buildToolTask = new DotNetBuild(
     msbuildPath: ToolName,
     processManager: ProcessManager,
     resourceManager: ResourceManager,
     eventLogger: this,
     envManager: this,
     errorKnowledgeBase: Jenkins.ErrorKnowledgeBase);
Esempio n. 2
0
 protected override void InitializeTool()
 {
     if (TestProject.IsDotNetProject)
     {
         buildToolTask = new DotNetBuild(
             msbuildPath: () => ToolName,
             processManager: ProcessManager,
             resourceManager: ResourceManager,
             eventLogger: this,
             envManager: this,
             errorKnowledgeBase: Jenkins.ErrorKnowledgeBase);
     }
     else
     {
         buildToolTask = new MSBuild(
             msbuildPath: () => ToolName,
             processManager: ProcessManager,
             resourceManager: ResourceManager,
             eventLogger: this,
             envManager: this,
             errorKnowledgeBase: Jenkins.ErrorKnowledgeBase);
     }
 }