Using the Deployer plugin, I'm getting this exception:
[13:37:11]Step 2/2: Copy Files (SMB Deployer)
[13:37:11][Step 2/2] Starting upload via SMB to \devwebserver\WebApps\TCTest\TCTestDeploy
[13:37:11][Step 2/2] jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.
[13:37:11][Step 2/2] Step Copy Files (SMB Deployer) failed
Based in these instructions I added the following entries to the agent launcher (C:\TeamCity\buildAgent\launcher\conf\wrapper.conf) and also (by mistake) to ntlm-config.properties:
jcifs.smb.client.username=username
jcifs.smb.client.password=password
However I continue to get that exception.
We do not want to put the credentials in the build step directly for security reasons.
What do I need to to do so that the SMB Deployer uses the credentials in the configuration given?
Ended up putting the credentials in a template at the root level, and setting parameters for the other fields. That way every project can customize the working folders and such, while using the appropriate service credentials securely.