Question

I work on a .NET solution and I want to download source code and binaries from TeamCity. This is why I configured build artifacts. My configuration of the artifacts paths

src\app\Debug\* => debug
src\**\* => source

enter image description here

So far so good. But I want to skip some folders in the artifact, for example in the source artifact I want to skip

source\app\Debug

Are there any easy solution for that? Many thanks!

P.S. Once this question sorted I will zip the artifacts

Was it helpful?

Solution

If I understand correctly, all your binaries have been built into src/app/Debug What about building them into another folder, outside of src folder? Like a binaries folder at the root. Your configuration of the artifacts paths should be something like this:

binaries\app\Debug\* => debug
src\**\* => source
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top