Closed mdevilliers closed 12 years ago
Hey Paul, I had to add a download artifacts method to TeamCitySharp for a project here at work. Hopefully my patch is in the same sort of style as the rest of the code. Anyway it would be great to get some feedback,
Mark
Hey Mark
thanks so much for the pull request. I am currently away on business for a while so I will try and get to this and give you some feedback asap. On initial investigation it looks good
Paul
DownloadArtifactsByBuildId(string buildId, Action downloadHandler)
Executes the handler once the artifact has been downloaded.
Example usage
var client = new TeamCityClient(url, isUrlSecure); client.Connect(username, password); client.DownloadArtifactsByBuildId(selected.Id, x => UnZipSomwhere(x));