I am using TeamCity to build and deploy files onto a IIS website using Web Deploy 3.
I would like to add a step to call a url when done so that the custom cache can be r
A newer, cleaner, just-as-simple method would be also using Powershell:
wget "http://yourwebapp.net"
wget
is an alias for Invoke-WebRequest
, supporting more options like settings the request timeout.
Full docs: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-6
NB: On older environments you may want to set -UseBasicParsing
to prevent parsing errors.