TeamCity 2017.1 Help

SMB Upload

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

The settings common for all runners are described on a separate page; this page details the SMB Upload settings.

Option

Description

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 C redentials

Username

Specify the username

Password

Specify the p assword

Domain

Specify the d omain

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.

Last modified: 20 April 2023