TeamCity just to copy files - no build
This should be simple. I don't need a VisualStudio build, I just want to deploy some pre-compiled files checked into TFS (held in a folder that's part of my project) to a target location using TeamCity + Octopus. How should I do that?
As a more complicated step, there's also an ini file that's got different content depending on the environment (dev/qa/uat/prod). Is there a way of specifying which is copied as Octopus deploys from dev through qa, uat and prod?
Please sign in to leave a comment.
Hi,
a command line step can execute basically any command you want. Octopus offers their own plugin with functionality for their server, you might want to check that.
Using artifacts, you don't need to build anything, they are files, and as long as they are there (pulled from the VCS, usually), you can specify them.
Regarding your ini file, you would probably need to run a custom script that loads its contents and then deploys to the correct target.