TeamCity Call Url Build Step

前端 未结 3 2098
青春惊慌失措
青春惊慌失措 2021-02-14 18:11

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

3条回答
  •  醉酒成梦
    2021-02-14 18:42

    I would solve this using a command line script that hits the url, and one of TeamCity's command line runners.

    The question is tagged asp.net so I assume you're on Windows. Put this Get-WebFile script in a Powershell Build Runner. Then call Get-WebFile "http://yourwebapp.net/" at the bottom.

提交回复
热议问题