I have an Artifact path like the following:
%system.teamcity.build.workingDir%\Presentation\obj\Release\Package=>Package.zip
But I need to exclude a folder from "Package", I´ve tried things like:
%system.teamcity.build.workingDir%\Presentation\obj\Release\Package
-:%system.teamcity.build.workingDir%\Presentation\obj\Release\Package\PackageTmp
-:Package\PackageTmp
But nothing seems to work, any ideas ?
Greetings.
Exclusion patterns are not supported yet for artifact paths. There is an issue in TeamCity tracker requesting this functionality. Please watch/vote.
Additionally, there is this workaround. Have a look, if it fits your needs