A PowerShell based build runner for TeamCity builds that uploads all or selective files/folders affected in each build to one or more remote servers over FTP for deployment.

Business Needs

The aim was to automate the deployment of Drupal installations by designing a build runner that only pushes the files/folders affected in a build to the remote server and not the entire content under source control. It was also important not to re-upload the entire content under source control to the remote server for each TeamCity build.

Our Solution

Created a set of PowerShell scrips that provides a completely autonomous mechanism to trigger FTP uploads to remote servers for files/folders affected in each TeamCity build. These PowerShell scripts can be configured as a build step to achieve the stated objective.

Reference links:

Share this: