TeamCity: How to create a delay between build steps
I have a problem with TeamCity generating some Android APKs.
I have both the QA and the release APK, each in their own build step.
The problem is that the Release build step never completes as it seems to be accessing a file that is still in use by the QA build step.
I tried to add a Powershell build step in between using
Start-Sleep -Seconds 10
However, that doesn't seem to be the main reason TeamCity is waiting.
Does anyone know how to create a pause between build steps?
thank
+3
source to share
3 answers
I faced the same problem. However, I needed a controlled / large delay. I found that Teamcity can be delayed using the old ping test delay method. Anyway, I know that you solved your problem, but thought that others could take advantage of it; this url is # 1 in google search results.
REM Delay for 30 sec
ping -n 30 127.0.0.1 > nul
+7
source to share