Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to download artifacts from a build? #34

Open
klacol opened this issue Nov 14, 2021 · 0 comments
Open

How to download artifacts from a build? #34

klacol opened this issue Nov 14, 2021 · 0 comments

Comments

@klacol
Copy link

klacol commented Nov 14, 2021

Hi, great to see, that the stack72/TeamCitySharp is continuing here. I use this library since many years, without any change. Now we go forward and want to update the dependency.

In the original version, we could download a list of filenames for build artifacts like this:

var files = tcClient.Files.FilesByBuildId(build.id);
if (files != null && files.Count() != 0)
{
    Console.WriteLine("Filename: " + files[0].name);
}

How can I achieve this with the new version and tcClient.Artifacts.DownloadArtifactsByBuildId?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant