TeamCity 2019.1 Help

SMB Upload

SMB upload enables TeamCity to upload files/directories to Windows shares via Server Message Block (SMB) protocol.

The settings common for all runners are described in Configuring Build Steps; this page details the SMB Upload settings.



Deployment Target

Target URL

The URL should point to a host + share at least. Subdirectories are allowed here and will be created if missing. Valid examples:

\\host\share_name \\host\share_name\some\path \\host\c$\Temp

Name resolution

The DNS only name resolution allows switching JCIFS to "DNS-only" mode. May fix perfomance or out of memory exceptions (see this bitbucket issue for details). Is equivalent to following JCIFS settings:

-Djcifs.resolveOrder=DNS -Djcifs.smb.client.dfs.disabled=true

Deployment Credentials


Specify the username


Specify the password


Specify the domain

Deployment Source

Path to sources

Specify the deployment sources as a newline- or comma-separated list of paths to files/directories for deployment. Ant-style wildcards like dir/**/*.zip and target directories like *.zip => winFiles,unix/distro.tgz => linuxFiles, where winFiles and linuxFiles are target directories, are supported.