Applying Patches
To apply the patch for vss-native.exe:
Shutdown TeamCity server
Open
<TeamCity Server>/webapps/root/WEB-INF/classes/binBackup existing
vss-native.exeCopy new file replacing the original one
Start the server
To apply full VSS plugin patch:
Shutdown TeamCity server
Open
<TeamCity Server>/webapps/root/WEB-INF/classes/binBackup existing
vss-native.exeCopy new file replacing the original one
Open
<TeamCity Server>/webapps/root/WEB-INF/classes/jetbrains/buildServer/buildTriggers/vcs/vssfolderBackup all files there. Make sure no extra files are created under
<TeamCity Server>/webapps/root/WEB-INF/classespathRemove all files under that path
Unpack all class files from archive to
<TeamCity Server>/webapps/root/WEB-INF/Start the server
Capturing Logs From VSS-native
Copy to some folder vss-native.exe. This file can be found under TeamCity temp folder. The name would be TC-VSS-NATIVE-<some numbers>.exe. Run this program with /log switch. For commandline documentation, please start the process.
Microsoft Team Foundation Server Integration
To apply the patch for tfs-native.exe:
Shutdown TeamCity server
Open
<TeamCity Server>/webapps/root/WEB-INF/classes/binfolderBackup existing
tfs-native.exeCopy new file replacing the original one
Start server
To apply full VSS plugin patch:
Shutdown TeamCity server
Open
<TeamCity Server>/webapps/root/WEB-INF/classes/binBackup existing
tfs-native.exeCopy new file replacing the original one
Open
<TeamCity Server>/webapps/root/WEB-INF/classes/jetbrains/buildServer/buildTriggers/vcs/tfsBackup all files there. (Make sure the are no extra files created under
<TeamCity Server>/webapps/root/WEB-INF/classespath)Remove all files under that path
Unpack all class files from archive to
<TeamCity Server>/webapps/root/WEB-INF/Start the server
Capturing Logs From TFS-native
Copy to some folder tfs-native.exe. This file can be found under TeamCity temp folder. The name would be TC-TFS-NATIVE-<set of digits>.exe. Run this program with /log switch. For command-line parameters help, just run the process with no parameters. Log files would be created under TEMP directory in TeamCity.NET folder. For each process new log file is created.
.NET Runners
To patch .NET part of .NET runners:
Open
<TeamCity Server>/webapps/root/update/plugins/Copy
dotNetPlugin.zipto temp folderBackup
dotNetPlugin.zipExtract
dotNetPlugin.zipReplace contents of
/binfolder with new files.Pack files again. Make sure there is no files in the root of archive.
Replace
dotNetPlugin.zipfile on the server.All build agents should upgrade automatically.
Run the builds.
To enable logging from .NET runners:
Open
<TeamCity Server>/webapps/root/update/plugins/Copy
dotNetPlugin.ziptotempfolderBackup
dotNetPlugin.zipExtract
dotNetPlugin.zipCopy
/bin/teamcity-log4net-debug.xmlto/bin/teamcity-log4net.xmlYou may patch Log4NET config file if needed.
Pack files again. Make sure there are no files in the root of archive.
Replace
dotNetPlugin.zipfile on the server.All build agents should upgrade automatically.
Run the builds.
By default all log files will be stored under <TeamCity agent>/temp/buildTmp/TeamCity.NET folder, log files are created for each process.