Skip to content

Developer reference Deploy scripts

Augustin Šulc edited this page Jul 2, 2015 · 1 revision

Deployment on the target machine is carried out by Deploy Agent. Agent unpacks deploy package, transforms configuration files by replacing placeholders with their current values from agent configuration and runs root deploy script on the unpacked deploy package.

It means that deploy package is just a container for any files you wish with metadata attached to them (version, description, deploy manifest). Actual process of deployment is just running a PowerShell script so anything can be done through PowerShell, you can do during deployment.

Deploy script

Deploy scripts are a set of PowerShell scripts. These scripts are deployed to Agent the same way as any other deploy package.

Deploy manifest

When deploy scripts are run on an unpacked deploy package, they look for deploy manifest. The manifest is a XML file with additional information about the package. Content of the manifest determines which particular deploy script should be used (web applications have different deploy process than SSRS reports) and adds further information needed for the deployment process.

Clone this wiki locally