Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [HttpGet, Route("analysis")]
- public string Analysis(string projectName, string definitionName)
- {
- string path = Path.Combine(@"\glbuild2CodeAnalysisLogs", projectName, definitionName, "CodeAnalysis.html");
- if (System.IO.File.Exists(path))
- {
- string temp = System.IO.File.ReadAllText(path);
- return temp;
- }
- else return "Error";
- }
- this.http.get('http://localhost:54639/api/logs/analysis?projectName=' + this.currentDefinition.project.name + '&definitionName=' + this.currentDefinition.name).subscribe(data => {
- this.AnalysisLogs = data;
- console.log(data);
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement