As a big adherent of Continuous Integration practice I often need to deploy a Windows Service on an another computer remotely "by click".
Mostly, this task is performed from our TeamCity Build Server and consists of the following steps:
Mostly, this task is performed from our TeamCity Build Server and consists of the following steps:
- Stopping remote Windows Service
- Backuping it's files
- Copying new files into the remote folder where the service is
- Starting remote Windows Service
- Get-WmiObject cmdlet is used for managing Windows Service remotely
- Robocopy tool is used for "smart" copying files into remote shared folder
No comments:
Post a Comment