Team City hangs on build folder remove step

Hi, when using teamcity to build our games with cocos creator CLI, i cant get the process to move past the deletion of the build folders

[9672] Delete C:\TeamCity\buildAgent\work\17d92dc3660aa04d[GAME]\release\web-mobile\subpackages/**/,C:\TeamCity\buildAgent\work\17d92dc3660aa04d[GAME]\release\web-mobile**

or at least it seems to not move past that step.

if i however try and execute the same cli build in a powershell window, it builds the game with no problems

Has anyone had similar problems, or know of a solution?

To clarify, im using an administrative account on the agent service

You do this on the same machine?Does your machine has GUI system? cocos creator need it.

teamcity and the agent operates at the same machine yes.
Its run on windoes server 2019, and i remotedesktop into it.

So the problem is that it works when i for example open a command promt on the server and type:
C:\CocosCreator\2.3.3\CocosCreator.exe --path . --build “platform=web-mobile”

but if i execute the same command in teamcity, as Runner type: command line, it hangs on or just after when cocos tries to delete old build folders

1 Like

We hasn’t test on TeamCity, not sure what happened to this, can you try other version such as 2.4.3?

I got same issue atm. not sure where to set permission