Exemple #1
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);
     }
 }