Copy file from Github Repo to Teamcity Artifact
Completed
Hi all,
I have a dotnet pipeline(Github -> TC -> Octopus), where in i need to copy a file from my github repo to the Teamcity build artifact. Is it possible? if yes, how.
Thanks in Advance
Please sign in to leave a comment.
Hi,
To publish a file from a repo as a build artifact, you should add a VCS root, which points to your repo, to your build configuration. Then in Artifact paths setting (General Settings tab) of your build configuration, you should configure a path to this file. Make sure that this file is checked out and not ignored by checkout rules. You can also use the highlighted button to browse the build contents locally and select the required file:
Please note that for this button to display anything, you should have at least one finished build