cocos / cocos-docs

Manual docs content for Cocos Creator
https://docs.cocos.com
299 stars 423 forks source link

Endless build build via cmd on build agent teamcity: Stops at this log and loads endlessly - [Package] engine@1.0.9 enable #2983

Closed Melkov-source closed 2 months ago

Melkov-source commented 2 months ago

filePath: en/publish/publish-in-command-line.md content: Good afternoon!

For some reason teamcity build agent does not build a build.

The logs show that the process reaches the following point: 08:11:47 OUTPUT: engine:compile-builtin-engine-success (154ms) 08:11:47 OUTPUT: Load engine in C:\Program Files\Cocos Creator\Creator\3.8.3\resources\resources\3d\engine 08:11:47 OUTPUT: Profile changed: engine (modules.includeModules: 2d,3d,animation,audio,base,debug-renderer,geometry-renderer,gfx-webgl,gfx-webgl2,intersection-2d,light-probe,meshopt,occlusion-query,particle,particle-2d,physics-2d-box2d,physics-ammo,primitive,profiler,skeletal-animation,spine,terrain,tween,ui) 08:11:47 OUTPUT: Register native engine in C:\Program Files\Cocos Creator\Creator\3.8.3\resources\resources\3d\engine\native 08:11:47 OUTPUT: [Package] engine@1.0.9 enable

However, if you build the build by hand through the engine or exactly the same way through the command line - everything works correctly. The build is assembled successfully

cmd: CocosCreator.exe --project "./zuma" --build "configPath=./zuma/configs/buildConfig_web-mobile.json"

log on build agent: Starting: C:\BuildAgent\temp\agentTmp\custom_script11267838237146798565.cmd 08:13:47  in directory: C:\BuildAgent\work\bc951c68fcb756c6 08:13:48  OUTPUT: Arguments: 08:13:48  OUTPUT: C:\Program Files\Cocos Creator\Creator\3.8.3\CocosCreator.exe: true 08:13:48  OUTPUT: project: C:\BuildAgent\work\bc951c68fcb756c6\zuma 08:13:48  OUTPUT: build: configPath=./zuma/configs/buildConfig_web-mobile.json 08:13:48  OUTPUT: dev: false 08:13:48  OUTPUT: home: C:\Windows\system32\config\systemprofile.CocosCreator 08:13:48  OUTPUT: 08:13:48  OUTPUT: [Package] metrics@1.0.0 enable 08:13:49  OUTPUT: [Package] menu@1.0.0 enable 08:13:49  OUTPUT: [Package] profile@1.0.0 enable 08:13:49  OUTPUT: [Package] project@1.0.6 enable 08:13:49  OUTPUT: [Package] messages@1.0.0 enable 08:13:49  OUTPUT: [Package] utils@1.0.0 enable 08:13:49  OUTPUT: [Package] program@1.0.4 enable 08:13:49  OUTPUT: [Package] tester@1.0.0 enable 08:13:49  OUTPUT: [Package] information@1.0.1 enable 08:13:49  OUTPUT: [Package] preferences@1.0.0 enable 08:13:49  OUTPUT: [Package] Profile Migrate project: [1.0.8 -> 1.0.9]: engine@Cocos Creator... 08:13:49  OUTPUT: [Package] Profile migrateProject: engine(1.0.9)... 08:13:50  OUTPUT: [EditorQuickCompiler]Version information looks good. 08:13:50  OUTPUT: Note, quick compiler does not get launched. 08:13:50  OUTPUT: engine:compile-builtin-engine-success (154ms) 08:13:50  OUTPUT: Load engine in C:\Program Files\Cocos Creator\Creator\3.8.3\resources\resources\3d\engine 08:13:51  OUTPUT: Profile changed: engine (modules.includeModules: 2d,3d,animation,audio,base,debug-renderer,geometry-renderer,gfx-webgl,gfx-webgl2,intersection-2d,light-probe,meshopt,occlusion-query,particle,particle-2d,physics-2d-box2d,physics-ammo,primitive,profiler,skeletal-animation,spine,terrain,tween,ui) 08:13:51  OUTPUT: Register native engine in C:\Program Files\Cocos Creator\Creator\3.8.3\resources\resources\3d\engine\native 08:13:51  OUTPUT: [Package] engine@1.0.9 enable

Running...

MrKylinGithub commented 2 months ago

Hi, thank you for the feedback. For engine issue, please go there: https://github.com/cocos/cocos-engine/issues Thanks again!