Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TeamCity : How to create a delay between build steps

I'm having an issue with TeamCity, building some Android APK's.

I have both a QA and Release APK's, each in it's own build step.

The problem is the Release build step never completes, as it seems to access a file that is still being used by the QA build step.

I have tried adding a Powershell build step between the two, using

Start-Sleep -Seconds 10

However, this doesn't seem top cause TeamCity to wait.

Does anybody know how to create a pause between build steps?

Thanks

like image 311
Greg Quinn Avatar asked Jan 04 '15 22:01

Greg Quinn


1 Answers

I ran into the same problem. However, I needed a controlled/longer delay. I found Teamcity could be delayed using the old school ping delay method. Anyhow, I know you solved your problem, but figured others may benefit from this; this URL is #1 on my google search results.

REM Delay for 30 sec  
ping -n 30 127.0.0.1 > nul
like image 160
Ivan Plascencia Avatar answered Sep 30 '22 17:09

Ivan Plascencia