-
Notifications
You must be signed in to change notification settings - Fork 1
Developer reference Deploy scripts
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 scripts are a set of PowerShell scripts. These scripts are deployed to Agent the same way as any other deploy package.
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.