{"id":482341,"date":"2024-06-19T10:22:18","date_gmt":"2024-06-19T09:22:18","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=teamcity&#038;p=482341"},"modified":"2024-06-19T10:22:24","modified_gmt":"2024-06-19T09:22:24","slug":"unreal-engine-plugin-for-teamcity","status":"publish","type":"teamcity","link":"https:\/\/blog.jetbrains.com\/zh-hans\/teamcity\/2024\/06\/unreal-engine-plugin-for-teamcity\/","title":{"rendered":"\u9686\u91cd\u63a8\u51fa\u9002\u7528\u4e8e TeamCity \u7684 Unreal Engine \u63d2\u4ef6"},"content":{"rendered":"<p>TeamCity \u662f\u6e38\u620f\u5f00\u53d1\u7684\u70ed\u95e8\u9009\u62e9\uff0c\u5927\u5bb6\u9009\u62e9\u5b83\u7684\u539f\u56e0\u5305\u62ec\u652f\u6301 Perforce\u3001\u53ef\u4ee5\u8fdb\u884c\u672c\u5730\u5b89\u88c5\uff0c\u5e76\u63d0\u4f9b\u4e86\u591a\u79cd\u914d\u7f6e\u9009\u9879\u3002 \u9664\u4e86\u5c06\u5b83\u4e3b\u8981\u7528\u4f5c\u901a\u7528 CI\/CD \u89e3\u51b3\u65b9\u6848\u4e4b\u5916\uff0c\u6211\u4eec\u8fd8\u52aa\u529b\u4e3a\u5404\u79cd<a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/integrations\/build-tools\/\" target=\"_blank\" rel=\"noopener\">\u6784\u5efa\u5de5\u5177<\/a>\u63d0\u4f9b\u4e13\u95e8\u652f\u6301\u3002 \u6211\u4eec\u5df2\u63d0\u4f9b Unity \u63d2\u4ef6\u6570\u5e74\uff0c\u73b0\u5728\uff0c\u6211\u4eec\u5f88\u9ad8\u5174\u6b63\u5f0f\u63a8\u51fa <a href=\"https:\/\/plugins.jetbrains.com\/plugin\/22679-unreal-engine-support\" target=\"_blank\" rel=\"noopener\">Unreal Engine \u652f\u6301\u63d2\u4ef6<\/a>\uff01<\/p>\n<p>\u5728\u8fd9\u6b3e\u65b0\u63d2\u4ef6\u7684\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u4e00\u76f4\u4e0e\u591a\u4f4d\u6e38\u620f\u5f00\u53d1\u5ba2\u6237\u4fdd\u6301\u5bc6\u5207\u8054\u7cfb\uff0c\u4ee5\u786e\u4fdd\u5b83\u7b26\u5408\u4ece\u4e8b\u5b9e\u9645 Unreal Engine \u9879\u76ee\u5de5\u4f5c\u7684 DevOps \u56e2\u961f\u7684\u9700\u6c42\u3002<\/p>\n<p>\u4e3a Unreal Engine \u6e38\u620f\u8bbe\u7f6e\u5408\u9002\u7684\u6784\u5efa\u7ba1\u9053\u53ef\u80fd\u662f\u4e00\u9879\u8270\u5de8\u7684\u4efb\u52a1\uff0c\u7279\u522b\u662f\u5bf9\u4e8e\u90a3\u4e9b\u5728\u5e73\u53f0\u72ec\u7279\u6027\u65b9\u9762\u7ecf\u9a8c\u6709\u9650\u7684\u4eba\u6765\u8bf4\u3002 \u5728\u8fd9\u7bc7\u535a\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u5e26\u60a8\u4e86\u89e3\u57fa\u672c\u8bbe\u7f6e\uff0c\u540c\u65f6\u4f1a\u5c55\u793a\u8be5\u63d2\u4ef6\u7684\u529f\u80fd\uff0c\u5e76\u6f14\u793a\u5206\u5e03\u5f0f BuildGraph \u652f\u6301\u7b49\u9ad8\u7ea7\u529f\u80fd\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473421\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/sample-build-pipeline.png\" alt=\"\" width=\"1999\" height=\"639\" \/><figcaption class=\"wp-element-caption\">\u65b0 Unreal Engine \u63d2\u4ef6\u751f\u6210\u7684\u793a\u4f8b\u6784\u5efa\u7ba1\u9053<\/figcaption><\/figure>\n<h2 class=\"wp-block-heading\"><strong>\u4e3b\u8981\u529f\u80fd<\/strong><\/h2>\n<p>\u4ee5\u4e0b\u662f\u6b64\u7248\u63d2\u4ef6\u6240\u63d0\u4f9b\u529f\u80fd\u7684\u5feb\u901f\u6982\u89c8\uff1a<\/p>\n<ul>\n<li>\u4e13\u4e3a\u6700\u5e38\u89c1\u7528\u4f8b\uff08BuildCookRun\u3001BuildGraph \u548c\u81ea\u52a8\u5316\u6d4b\u8bd5\uff09\u5b9a\u5236\u7684\u4e13\u7528\u8fd0\u884c\u7a0b\u5e8f\u3002<\/li>\n<li>\u57fa\u4e8e BuildGraph \u63cf\u8ff0\u6784\u5efa\u53d1\u884c\u7248\u3002<\/li>\n<li>\u5373\u65f6\u81ea\u52a8\u5316\u6d4b\u8bd5\u62a5\u544a\u3002<\/li>\n<li>\u81ea\u52a8\u53d1\u73b0\u6784\u5efa\u8ba1\u7b97\u673a\u4e0a\u7684 Unreal Engine \u5b89\u88c5\u3002<\/li>\n<li>\u517c\u5bb9\u6700\u65b0\u7684 5.x \u7248 Unreal Engine\uff0c\u8fd8\u652f\u6301 4.x \u7248\u672c\u3002<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\"><strong>\u6f14\u793a<\/strong><\/h2>\n<p>\u5728\u672c\u6f14\u793a\u4e2d\uff0c\u6211\u4eec\u5c06\u4e3a\u968f Unreal \u63d0\u4f9b\u7684\u4e24\u6b3e\u5165\u95e8\u7ea7\u6e38\u620f <em>Cropout<\/em> \u548c <em>Lyra<\/em> \u8bbe\u7f6e\u7ba1\u9053\uff1a \u6211\u4eec\u5c06\u4e3a\u6784\u5efa\u4ee3\u7406\u548c\u5b89\u88c5\u4e86 Unreal Engine \u63d2\u4ef6\u7684 TeamCity Cloud \u4f7f\u7528 AWS \u57fa\u7840\u67b6\u6784\uff08EC2 \u548c\u7528\u4e8e FSx for OpenZFS\uff09\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u4ecb\u7ecd\u4e24\u4e2a\u573a\u666f\uff1a\u5f15\u64ce\u5df2\u5b89\u88c5\u5728\u4ee3\u7406\u4e0a\uff0c\u4ee5\u53ca\u5f15\u64ce\u4e0e\u6e38\u620f\u4e00\u8d77\u901a\u8fc7\u6e90\u4ee3\u7801\u6784\u5efa\u3002 \u76ee\u524d\uff0cTeamCity Cloud \u4e0d\u4e3a\u4ee3\u7406\u63d0\u4f9b\u9884\u88c5\u7684 Unreal Engine\uff0c\u4f46\u60a8\u53ef\u4ee5\u968f\u65f6\u6dfb\u52a0\u60a8\u81ea\u5df1\u7684\u5305\u542b\u6240\u6709\u5fc5\u9700 SDK \u7684<a href=\"https:\/\/www.jetbrains.com.cn\/help\/teamcity\/cloud\/install-and-start-teamcity-agents.html\" target=\"_blank\" rel=\"noopener\">\u81ea\u6258\u7ba1\u4ee3\u7406<\/a>\u3002 \u6211\u4eec\u5c06\u5728\u8fd9\u7bc7\u535a\u6587\u4e2d\u91c7\u7528\u8fd9\u79cd\u65b9\u5f0f\u3002<\/p>\n<h2 class=\"wp-block-heading\"><strong>\u4f7f\u7528 BuildCookRun \u6784\u5efa <\/strong><strong><em>Cropout<\/em><\/strong><\/h2>\n<p>\u6784\u5efa Unreal \u9879\u76ee\u901a\u5e38\u6d89\u53ca<a href=\"https:\/\/dev.epicgames.com\/documentation\/en-us\/unreal-engine\/build-operations-cooking-packaging-deploying-and-running-projects-in-unreal-engine\" target=\"_blank\" rel=\"noopener\">\u591a\u4e2a\u6b65\u9aa4<\/a>\uff0c\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li>\u91c7\u7528\u6307\u5b9a\u914d\u7f6e\u9488\u5bf9\u76ee\u6807\u5e73\u53f0\u8fdb\u884c\u7f16\u8bd1\u3002<\/li>\n<li>\u8d44\u6e90\u70d8\u7119\uff08\u5c06\u6240\u6709\u8d44\u6e90\u8f6c\u6362\u4e3a\u53ef\u5728\u76ee\u6807\u5e73\u53f0\u4e0a\u8bfb\u53d6\u7684\u8d44\u6e90\uff09\u3002<\/li>\n<li>\u5c06\u9879\u76ee\u5c01\u88c5\u4e3a\u5408\u9002\u7684\u5206\u53d1\u683c\u5f0f\u3002<\/li>\n<li>\u7b49\u7b49\u3002<\/li>\n<\/ul>\n<p>\u5f53\u7136\uff0c\u4e4b\u540e\u8fd8\u8981\u8fdb\u884c\u6d4b\u8bd5\uff01<\/p>\n<p>\u9996\u5148\uff0c\u6211\u4eec\u6765\u770b\u4e00\u4e2a\u7b80\u5355\u7684\u573a\u666f\uff0c\u5e76\u4f7f\u7528\u6807\u51c6 BuildCookRun \u547d\u4ee4\u5728\u4e00\u53f0\u8ba1\u7b97\u673a\u4e0a\u6309\u987a\u5e8f\u8fd0\u884c\u6240\u6709\u9636\u6bb5\u3002<\/p>\n<p>\u5bf9\u4e8e\u6b64\u573a\u666f\uff0c\u6211\u4eec\u5c06\u4f7f\u7528\u64b0\u5199\u8fd9\u7bc7\u535a\u6587\u65f6\u53ef\u4ee5\u83b7\u53d6\u7684\u6700\u65b0\u666e\u901a\u7248 Unreal Engine\uff0c\u5e76\u901a\u8fc7 EGL\uff08Epic Games \u542f\u52a8\u5668\uff09\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p>\u5c06\u4ee3\u7406\u6210\u529f\u8fde\u63a5\u5230 TeamCity Cloud \u670d\u52a1\u5668\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5728 <em>Agents<\/em>\uff08\u4ee3\u7406\uff09\u6807\u7b7e\u9875\u4e2d\u770b\u5230\u5b83\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473444\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/teamcity-cloud-agents-pool.png\" alt=\"\" width=\"1420\" height=\"719\" \/><\/figure>\n<p>\u73b0\u5728\uff0c\u6211\u60f3\u7b80\u5355\u63a2\u8ba8\u4e00\u4e0b\u4ee3\u7406\u7684\u4e00\u4e9b\u5c5e\u6027\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473456\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/agents-properties.png\" alt=\"\" width=\"1420\" height=\"398\" \/><\/figure>\n<p>\u67e5\u770b\u4e0a\u56fe\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u4ee3\u7406\u53d1\u73b0\u4e86\u5f15\u64ce\u53ca\u5176\u7248\u672c\uff08\u5982\u60a8\u6240\u89c1\uff0c\u6211\u4eec\u7684\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5\u4e86\u591a\u4e2a\u5f15\u64ce\uff09\u3002 \u8bf7\u8bb0\u4e0b\u6b64\u4fe1\u606f\uff0c\u56e0\u4e3a\u7a0d\u540e\u6211\u4eec\u4f1a\u5c06\u6b64\u4fe1\u606f\u7528\u4e8e\u6784\u5efa\u6b65\u9aa4\u914d\u7f6e\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u5e38\u7528\u7684\u65b9\u5f0f\u662f\u5c06\u60a8\u6240\u6709\u7684\u914d\u7f6e\u4ee5\u4ee3\u7801\u5f62\u5f0f\u5b58\u50a8\u5728\u6e90\u4ee3\u7801\u63a7\u5236\u7cfb\u7edf\u4e0b\uff08\u4e5f\u5c31\u662f\u201c\u914d\u7f6e\u5373\u4ee3\u7801\u201d\uff09\u3002 \u5728 TeamCity \u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 <a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/features\/configuration-as-code\/\" target=\"_blank\" rel=\"noopener\" data-type=\"link\" data-id=\"https:\/\/www.jetbrains.com\/teamcity\/features\/configuration-as-code\/\">Kotlin DSL<\/a> \u6267\u884c\u6b64\u64cd\u4f5c\u3002 \u5f53\u7136\uff0c\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528\u4f20\u7edf UI \u914d\u7f6e\uff0c\u4f46\u4eca\u5929\u6211\u4eec\u5c06\u4f7f\u7528\u7b2c\u4e00\u79cd\u65b9\u5f0f\uff08\u7531\u4e8e YAML \u5df2\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u5e76\u4e14\u5df2\u6210\u4e3a\u4e8b\u5b9e\u4e0a\u7684\u6807\u51c6\uff0c\u6211\u4eec\u5df2\u5c06\u5b83\u6dfb\u52a0\u5230\u6700\u8fd1\u53d1\u5e03\u7684 <a href=\"https:\/\/blog.jetbrains.com\/teamcity\/2024\/03\/meet-teamcity-pipelines\/\">TeamCity Pipelines<\/a> \u2013 \u5982\u679c\u60a8\u8fd8\u6ca1\u6709\u67e5\u770b\uff0c\u8bf7\u67e5\u770b\uff09\u3002<\/p>\n<p>\u7528\u4e8e\u5728 TeamCity \u4e2d\u6784\u5efa <em>Cropout<\/em> \u7684 Kotlin DSL \u914d\u7f6e\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\">unrealEngine {\n    engineDetectionMode = automatic {\n        identifier = \"5.4\"\n    }\n    command = buildCookRun {\n        project = \"cropout\/CropoutSampleProject.uproject\"\n        buildConfiguration = standaloneGame {\n            configurations = \"Development+Shipping\"\n            platforms = \"Mac\"\n        }\n        cook = cookConfiguration {\n            maps = \"Village+MainMenu\"\n            cultures = \"en\"\n            unversionedContent = true\n        }\n        stage = stageConfiguration {\n            directory = \".\/staged\"\n        }\n        archive = archiveConfiguration {\n            directory = \".\/archived\"\n        }\n        pak = true\n        compressed = true\n        prerequisites = true\n    }\n    additionalArguments = \"-utf8output -buildmachine -unattended -noP4 -nosplash -stdout -NoCodeSign\"\n}<\/pre>\n<p>\u6240\u6709\u8bbe\u7f6e\u7684\u4f5c\u7528\u90fd\u4e00\u76ee\u4e86\u7136\uff0c\u4f46\u6709\u51e0\u9879\u8bbe\u7f6e\u9700\u8981\u8fdb\u4e00\u6b65\u8bf4\u660e\uff1a<\/p>\n<ul>\n<li><code>engine detection mode<\/code>\n<p>\u6211\u4eec\u53ef\u4ee5\u5728\u6b64\u5904\u6307\u5b9a\u201cautomatic\u201d\u6216\u201cmanual\u201d\u3002 \u524d\u8005\u5047\u5b9a\u60a8\u5df2\u7ecf\u5728\u4ee3\u7406\u4e0a\u5b89\u88c5\u5f15\u64ce\u5e76\u5728\u7cfb\u7edf\u4e2d\u6ce8\u518c\u3002<\/p>\n<p>\u6211\u501f\u6b64\u673a\u4f1a\u6f84\u6e05\u4e00\u4e0b\u201c\u6ce8\u518c \u201d\u7684\u542b\u4e49\uff1a\u5f53\u60a8\u901a\u8fc7 EGL \u5b89\u88c5 Unreal Engine \u6216\u901a\u8fc7\u6e90\u4ee3\u7801\u6784\u5efa Unreal Engine \u65f6\uff0c\u6b64\u64cd\u4f5c\u4f1a\u5199\u5165\u76ee\u6807\u8ba1\u7b97\u673a\u4e0a\u7684\u67d0\u4e9b\u6587\u4ef6\uff08\u5982\u679c\u4f7f\u7528\u7684\u662f Windows\uff0c\u5219\u4f1a\u5199\u5165\u6ce8\u518c\u8868\uff09\u3002 \u6709\u5173\u8be6\u60c5\uff0c\u8bf7\u53c2\u9605<a href=\"https:\/\/dev.epicgames.com\/documentation\/en-us\/unreal-engine\/installed-build-reference-guide-for-unreal-engine#registeringaninstalledbuild\" target=\"_blank\" rel=\"noopener\">\u6b64\u5904<\/a>\u3002<\/p>\n<p>\u8fd9\u57fa\u672c\u4e0a\u5c31\u662f\u81ea\u52a8\u68c0\u6d4b\u6a21\u5f0f\u7684\u7528\u9014\u3002 \u6211\u4eec\u8bfb\u53d6\u8fd9\u4e9b\u6587\u4ef6\u5e76\u53d1\u5e03\u6807\u8bc6\u7b26\u4f5c\u4e3a\u4ee3\u7406\u5c5e\u6027\uff0c\u8fd9\u6837\u4e00\u6765\uff0c\u60a8\u7a0d\u540e\u4fbf\u53ef\u4f7f\u7528\u8fd9\u4e9b\u5c5e\u6027\u4e3a\u6784\u5efa\u9009\u62e9\u5408\u9002\u7684\u4ee3\u7406\u3002<\/p>\n<p>\u201c\u624b\u52a8\u201d\u6a21\u5f0f\u5141\u8bb8\u60a8\u8bbe\u7f6e Unreal Engine \u6839\u6587\u4ef6\u5939\u7684\u51c6\u786e\u8def\u5f84\uff0c\u5f53\u60a8\u901a\u8fc7\u6e90\u4ee3\u7801\u6784\u5efa\u65f6\u53ef\u80fd\u4f1a\u7528\u5230\u8be5\u8def\u5f84\u3002 \u7a0d\u540e\u6211\u4eec\u5c06\u4ecb\u7ecd\u8fd9\u90e8\u5206\u5185\u5bb9\u3002<\/p>\n<\/li>\n<li><code>build configuration<\/code>\n<p>\u901a\u8fc7\u8c03\u6574\u6b64\u53c2\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u6307\u5b9a\u6240\u521b\u5efa\u6784\u5efa\u7684\u7c7b\u578b\uff0c\u5b83\u662f\u5355\u673a\u6e38\u620f\u3001\u5ba2\u6237\u7aef\u3001\u670d\u52a1\u5668\uff0c\u8fd8\u662f\u65e2\u662f\u5ba2\u6237\u7aef\u53c8\u662f\u670d\u52a1\u5668\u7ec4\u4ef6\u3002<\/p>\n<p>\u6839\u636e\u6240\u9009\u7684\u503c\uff0c\u63d2\u4ef6\u5c06\u5e94\u7528 <code>-client<\/code>\u3001<code>-server<\/code>\u3001<code>-noserver<\/code> \u6807\u5fd7\uff0c\u5e76\u76f8\u5e94\u5730\u7ba1\u7406 <code>-clientconfig<\/code>\u3001<code>-serverconfig<\/code>\u3001<code>-config<\/code>\u3001<code>-targetplatform<\/code> \u548c <code>-servertargetplatform<\/code> \u53c2\u6570\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5230\u73b0\u5728\u4e3a\u6b62\u90fd\u6ca1\u95ee\u9898\u3002 \u73b0\u5728\uff0c\u8be5\u6dfb\u52a0\u4e00\u4e9b\u81ea\u52a8\u5316\u6d4b\u8bd5\u5e76\u8fd0\u884c\u6700\u7ec8\u7ba1\u9053\u4e86\u3002<\/p>\n<pre class=\"EnlighterJSRAW\">unrealEngine {\n    engineDetectionMode = automatic {\n        identifier = \"5.4\"\n    }\n    command = runAutomation {\n        project = \"cropout\/CropoutSampleProject.uproject\"\n        execCommand = runTests {\n            tests = \"\"\"\n                StartsWith:JsonConfig\n                Input.Triggers.Released\n            \"\"\".trimIndent()\n        }\n        nullRHI = true\n    }\n    additionalArguments = \"-utf8output -buildmachine -unattended -noP4 -nosplash -stdout -NoCodeSign\"\n}<\/pre>\n<p>\u5982\u60a8\u6240\u77e5\uff0c\u4f7f\u7528 Unreal Engine \u81ea\u52a8\u5316\u6846\u67b6\u65f6\uff0c\u901a\u5e38\u4f7f\u7528\u4ee5\u4e0b\u81ea\u52a8\u5316\u201c\u5b50\u547d\u4ee4\u201d\u4e4b\u4e00\u6267\u884c\u6d4b\u8bd5\uff1a<\/p>\n<ul>\n<li><code>RunAll<\/code> \u2013 \u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u7b80\u5355\u7684\u547d\u4ee4\uff0c\u80fd\u591f\u8fd0\u884c\u6240\u6709\u5fc5\u9700\u7684\u6d4b\u8bd5\u3002<\/li>\n<li><code>RunFilter<\/code> \u2013 \u501f\u52a9\u6b64\u547d\u4ee4\uff0c\u53ef\u4ee5\u6267\u884c\u4f7f\u7528\u4e00\u4e2a\u6307\u5b9a\u7b5b\u9009\u5668\uff08\u5305\u62ec <code>Engine<\/code>\u3001<code>Stress<\/code>\u3001<code>Smoke<\/code> \u7b49\u503c\uff09\u6807\u8bb0\u7684\u6d4b\u8bd5\u3002<\/li>\n<li><code>RunTests<\/code> \u2013 \u8fd9\u662f\u6700\u901a\u7528\u7684\u547d\u4ee4\uff0c\u56e0\u4e3a\u60a8\u53ef\u4ee5\u4f7f\u7528\u8be5\u547d\u4ee4\u6307\u5b9a\u8981\u8fd0\u884c\u7684\u6d4b\u8bd5\u5217\u8868\uff08\u5305\u62ec\u4f7f\u7528 <code>StartsWith<\/code> \u7684\u524d\u7f00\u7b5b\u9009\u5668\u3001\u8fd0\u884c\u7ec4\u7b5b\u9009\u5668\u548c\u7b80\u5355\u7684\u5b50\u5b57\u7b26\u4e32\u5339\u914d\uff09\u3002<\/li>\n<\/ul>\n<p>\u6211\u4eec\u5c1d\u8bd5\u5728 Kotlin DSL \u4e2d\u4fdd\u7559\u76f8\u540c\u7684\u7528\u8bcd\uff0c\u4ee5\u4fbf Unreal \u7528\u6237\u5bf9\u6b64\u611f\u5230\u719f\u6089\u3002<\/p>\n<p>\u8fd8\u8981\u6307\u51fa\u7684\u662f\uff0c\u63d2\u4ef6\u4f1a\u5373\u65f6\u89e3\u6790\u6d4b\u8bd5\u7ed3\u679c\uff0c\u5e76\u4ee5 TeamCity \u81ea\u5e26\u7684\u6b63\u786e\u663e\u793a\u7684\u683c\u5f0f\u5448\u73b0\u6d4b\u8bd5\u7ed3\u679c\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473479\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/teamcity-test-results.png\" alt=\"\" width=\"1420\" height=\"809\" \/><\/figure>\n<p>\u4ee5\u4e0b\u662f\u6784\u5efa\u7ed3\u679c\u793a\u4f8b\uff1a<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473490\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/build-results-teamcity.png\" alt=\"\" width=\"2000\" height=\"466\" \/><\/figure>\n<p>\u5728\u4e0b\u65b9\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u53d1\u5e03\u5230<a href=\"https:\/\/www.jetbrains.com.cn\/help\/teamcity\/configuring-artifacts-storage.html\" target=\"_blank\" rel=\"noopener\">\u5de5\u4ef6\u5b58\u50a8<\/a>\u7684\u6e38\u620f\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002 \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5de5\u4ef6\u4f1a\u53d1\u5e03\u5230<a href=\"https:\/\/www.jetbrains.com.cn\/help\/teamcity\/configuring-artifacts-storage.html#Built-in+Artifacts+Storage\" target=\"_blank\" rel=\"noopener\">\u5185\u7f6e\u5b58\u50a8<\/a>\uff1b\u4f46 TeamCity \u8fd8\u652f\u6301\u591a\u79cd<a href=\"https:\/\/www.jetbrains.com.cn\/help\/teamcity\/configuring-artifacts-storage.html#external-artifacts-storage\" target=\"_blank\" rel=\"noopener\">\u5916\u90e8\u5b58\u50a8<\/a>\u9009\u9879\u3002 \u5728\u4e91\u73af\u5883\u4e2d\uff0c\u53ef\u4ee5\u914d\u7f6e\u53d1\u5e03\u5230 S3\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473501\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/external-storage-options-teamcity.png\" alt=\"\" width=\"2000\" height=\"1185\" \/><\/figure>\n<p>UI \u4e2d\u7684\u6700\u7ec8\u914d\u7f6e\u5c06\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473512\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/ui-configuration-option-step1.png\" alt=\"\" width=\"1736\" height=\"1744\" \/><\/figure>\n<p>\u4e0b\u9762\u662f\u6d4b\u8bd5\u8fd0\u884c\u7684\u6b65\u9aa4\uff1a<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473523\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/ui-configuration-option-step2.png\" alt=\"\" width=\"1736\" height=\"1532\" \/><\/figure>\n<p>\u7531\u4e8e\u6211\u4eec\u5df2\u542f\u7528 Kotlin DSL \u914d\u7f6e\u5e76\u7981\u6b62\u5728 UI \u4e2d\u5bf9\u5176\u8fdb\u884c\u7f16\u8f91\uff0c\u6240\u6709\u8bbe\u7f6e\u5747\u88ab\u7981\u7528\u3002<\/p>\n<h2 class=\"wp-block-heading\"><strong>\u4f7f\u7528 BuildGraph \u6784\u5efa <\/strong><strong><em>Lyra<\/em><\/strong><\/h2>\n<p>\u6211\u4eec\u5c06\u9010\u6b65\u8fc7\u6e21\u5230\u4f7f\u7528 Lyra \u7684\u66f4\u590d\u6742\u793a\u4f8b\u3002 \u7531\u4e8e\u5b83\u662f\u4e00\u6b3e\u591a\u4eba\u6e38\u620f\uff0c\u6211\u4eec\u6765\u6784\u5efa Linux \u670d\u52a1\u5668\uff08\u636e\u6211\u4eec\u6240\u77e5\uff0c\u4e00\u5207\u9ad8\u6027\u80fd\u6e38\u620f\u90fd\u5e94\u5728 Linux \u4e0a\u8fd0\u884c\uff01\uff09\u4ee5\u53ca Windows \u548c Linux \u6e38\u620f\u5ba2\u6237\u7aef\u3002<\/p>\n<p>\u5728\u524d\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5728\u4e00\u53f0\u8ba1\u7b97\u673a\u4e0a\u6309\u987a\u5e8f\u8fd0\u884c\u4e86\u6240\u6709\u6b65\u9aa4\u3002 \u8fd9\u4e00\u8fc7\u7a0b\u901a\u5e38\u9700\u8981\u5927\u91cf\u65f6\u95f4\u3002 \u4f46\u8fd8\u6709\u4e00\u79cd\u66f4\u597d\u7684\u65b9\u5f0f\uff0c\u5373 BuildGraph\u3002 \u8fd9\u662f\u4e00\u79cd Unreal \u65b9\u6cd5\uff0c\u4ee5\u58f0\u660e\u65b9\u5f0f\uff08\u6216\u51e0\u4e4e\u4ee5\u58f0\u660e\u65b9\u5f0f\uff09\u5c06\u6784\u5efa\u63cf\u8ff0\u4e3a\u4e00\u7ec4\u5177\u6709\u4f9d\u8d56\u5173\u7cfb\u7684\u4efb\u52a1\u3002 \u968f\u540e\uff0c\u6784\u4ef6\u56fe\u7684\u4e0d\u540c\u90e8\u5206\u53ef\u4ee5\u5171\u540c\u6267\u884c\uff0c\u6216\u62c6\u5206\u5230\u4e0d\u540c\u7684\u8ba1\u7b97\u673a\u4e0a\u3002 \u540e\u4e00\u79cd\u65b9\u5f0f\u53ef\u4ee5\u663e\u8457\u52a0\u5feb\u6574\u4e2a\u6784\u5efa\u8fc7\u7a0b\u7684\u901f\u5ea6\uff0c\u7279\u522b\u9002\u5408\u5927\u578b\u590d\u6742\u9879\u76ee\u3002<\/p>\n<p>BuildGraph \u7684\u4f18\u70b9\u662f\u5b83\u4f1a\u81ea\u52a8\u7ba1\u7406\u4f5c\u4e1a\u4e4b\u95f4\u7684\u6240\u6709\u4e2d\u95f4\u5de5\u4ef6\u3002 \u60a8\u53ea\u9700\u8981\u5171\u4eab\u5b58\u50a8\u3002 \u6784\u5efa <em>Lyra<\/em> \u65f6\uff0c\u6211\u4eec\u4f1a\u5c06\u6b64\u5171\u4eab\u5b58\u50a8\u7528\u4e8e\u4e24\u4e2a\u76ee\u7684\uff1a\u5728\u5355\u4e2a\u6784\u5efa\u4e2d\u7684\u8282\u70b9\u4e4b\u95f4\u5171\u4eab\u6570\u636e\uff0c\u4ee5\u53ca\u7ef4\u62a4\u5171\u4eab\u6d3e\u751f\u6570\u636e\u7f13\u5b58 (DDC)\u3002<\/p>\n<p>\u6211\u4eec\u4e4b\u524d\u63d0\u5230\u8fc7\uff0c\u6211\u4eec\u8fd8\u5c06\u901a\u8fc7\u6e90\u4ee3\u7801\u6784\u5efa\u5f15\u64ce\u3002 \u60a8\u901a\u8fc7\u6e90\u4ee3\u7801\u6784\u5efa\u5f15\u64ce\u53ef\u80fd\u662f\u51fa\u4e8e\u591a\u79cd\u539f\u56e0\uff0c\u4f46\u5c31\u6211\u4eec\u7684\u7279\u5b9a\u60c5\u51b5\u800c\u8a00\uff0c\u6211\u4eec\u8fd9\u6837\u505a\u662f\u56e0\u4e3a\u65e0\u6cd5\u4f7f\u7528\u4efb\u4f55\u65b9\u5f0f\u901a\u8fc7\u5f15\u64ce\uff08\u4ece EGL \u5b89\u88c5\uff09\u6784\u5efa Linux \u670d\u52a1\u5668\uff08\u81f3\u5c11\u5728\u64b0\u5199\u8fd9\u7bc7\u535a\u6587\u65f6\u65e0\u6cd5\u5b9e\u73b0\uff09\u3002 \u8fd9\u662f\u56e0\u4e3a\u6b64\u7279\u5b9a\u5f15\u64ce\u7248\u672c\u672a\u63d0\u4f9b\u76f8\u5e94\u6587\u4ef6\u548c SDK\u3002<\/p>\n<p>\u597d\u7684\uff0c\u5e8f\u8a00\u4ecb\u7ecd\u5b8c\u6bd5 \u2014 \u6211\u4eec\u6765\u770b\u770b\u4ee3\u7801\u3002<\/p>\n<p>\u9879\u76ee\u7ed3\u6784\u548c Perforce \u4e2d\u7684\u76f8\u5e94\u6d41\u5982\u4e0b\u6240\u793a\uff08\u5047\u8bbe\u60a8\u5df2\u4ece Epic \u7684 Perforce \u83b7\u53d6 Unreal Engine \u6e90\u4ee3\u7801\uff09\uff1a<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473534\" style=\"aspect-ratio: 0.7458729364682342; width: 424px; height: auto;\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/lyra-perforce.png\" alt=\"\" width=\"1491\" height=\"1999\" \/><\/figure>\n<\/div>\n<p>\u4e0b\u9762\u662f\u6211\u4eec\u5c06\u7528\u4e8e\u6784\u5efa\u7684 BuildGraph XML \u811a\u672c\u7684\u8282\u9009\u3002 \u811a\u672c\u7684\u8fd9\u4e00\u7279\u5b9a\u90e8\u5206\u7ed9\u51fa\u4e86\u7f16\u8f91\u5668\u7684\u6784\u5efa\u65b9\u5f0f\u4ee5\u53ca\u7f16\u8bd1\u6240\u9700\u7684\u5de5\u5177\uff0c \u5176\u4e2d\u8fd8\u5305\u542b\u51e0\u9879\u6d4b\u8bd5\u3002 \u5728\u6211\u4eec\u7684\u7b80\u5355\u793a\u4f8b\u4e2d\uff0c\u8fd9\u4e9b\u6d4b\u8bd5\u91c7\u7528\u786c\u7f16\u7801\u3002 \u5728\u771f\u5b9e\u573a\u666f\u4e2d\uff0c\u60a8\u53ef\u80fd\u4f1a\u5c06\u6d4b\u8bd5\u5217\u8868\u4f20\u9012\u7ed9\u811a\u672c\u5e76\u91c7\u7528\u66f4\u590d\u6742\u7684\u903b\u8f91\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">...\n&lt;!-- Editors --&gt;\n  &lt;ForEach Name=\"Platform\" Values=\"$(EditorPlatforms)\" Separator=\"+\"&gt;\n    &lt;Property Name=\"Compiler\" Value=\"$(AgentPrefixCompile)$(Platform)\" \/&gt;\n\n    &lt;Agent Name=\"Build Editor and tools $(Platform)\" Type=\"$(Compiler)\"&gt;\n            \n            ...\n\n      &lt;Property Name=\"ExtraToolCompileArguments\" Value=\"$(ExtraToolCompileArguments) -architecture=arm64\" If=\"'$(Platform)' == 'Mac'\" \/&gt;\n      \n      &lt;Node Name=\"$(ToolsNodeName) $(Platform)\" Requires=\"Setup Toolchain $(Platform)\" Produces=\"#$(Platform)ToolBinaries\"&gt;\n        &lt;Compile Target=\"CrashReportClient\" Platform=\"$(Platform)\" Configuration=\"Shipping\" Arguments=\"$(ExtraToolCompileArguments)\" Tag=\"#$(Platform)ToolBinaries\"\/&gt;\n        &lt;Compile Target=\"CrashReportClientEditor\" Platform=\"$(Platform)\" Configuration=\"Shipping\" Arguments=\"$(ExtraToolCompileArguments)\" Tag=\"#$(Platform)ToolBinaries\"\/&gt;\n        &lt;Compile Target=\"ShaderCompileWorker\" Platform=\"$(Platform)\" Configuration=\"Development\" Arguments=\"$(ExtraToolCompileArguments)\" Tag=\"#$(Platform)ToolBinaries\"\/&gt;\n        &lt;Compile Target=\"UnrealLightmass\" Platform=\"$(Platform)\" Configuration=\"Development\" Tag=\"#$(Platform)ToolBinaries\"\/&gt;\n        &lt;Compile Target=\"InterchangeWorker\" Platform=\"$(Platform)\" Configuration=\"Development\" Arguments=\"$(ExtraToolCompileArguments)\" Tag=\"#$(Platform)ToolBinaries\"\/&gt;\n        &lt;Compile Target=\"UnrealPak\" Platform=\"$(Platform)\" Configuration=\"Development\" Arguments=\"$(ExtraToolCompileArguments)\" Tag=\"#$(Platform)ToolBinaries\"\/&gt;\n        &lt;Compile Target=\"BootstrapPackagedGame\" Platform=\"$(Platform)\" Configuration=\"Shipping\" Arguments=\"$(ExtraToolCompileArguments)\" Tag=\"#$(Platform)ToolBinaries\" If=\"'$(Platform)' == 'Win64'\"\/&gt;\n      &lt;\/Node&gt;\n      \n      ...\n      \n      &lt;Node Name=\"$(EditorNodeName) $(Platform)\" Requires=\"$(ToolsNodeName) $(Platform)\" Produces=\"#$(Platform)EditorBinaries\"&gt;\n        &lt;Compile Target=\"$(ProjectName)Editor\" Project=\"$(UProject)\" Platform=\"$(Platform)\" Configuration=\"Development\" Arguments=\"$(ExtraEditorCompileArguments)\" Tag=\"#$(Platform)EditorBinaries\"\/&gt;\n      &lt;\/Node&gt;\n\n            &lt;Property Name=\"AutomationTestsNodeName\" Value=\"Run Tests $(Platform)\" \/&gt;\n      &lt;Node Name=\"$(AutomationTestsNodeName)\" Requires=\"$(EditorNodeName) $(Platform)\"&gt;\n        &lt;Property Name=\"TestArgs\" Value=\"-Project=$(UProject) -NullRHI -Deterministic\" \/&gt;\n        &lt;Property Name=\"TestArgs\" Value=\"$(TestArgs) -Test=UE.EditorAutomation -RunTest=&amp;quot;StartsWith:Input&amp;quot;\" \/&gt;\n        &lt;Property Name=\"TestArgs\" Value=\"$(TestArgs) -Build=Editor -UseEditor\" \/&gt;\n        &lt;Command Name=\"RunUnreal\" Arguments=\"$(TestArgs)\" \/&gt;\n      &lt;\/Node&gt;\n    &lt;\/Agent&gt;\n\n    &lt;Property Name=\"BuildNodes\" Value=\"$(BuildNodes);$(EditorNodeName) $(Platform);$(AutomationTestsNodeName);\" \/&gt;\n  &lt;\/ForEach&gt;\n  \n  ...<\/pre>\n<p>\u6709\u5173\u5b8c\u6574\u8bed\u6cd5\u7684\u63cf\u8ff0\uff0c\u8bf7\u53c2\u9605 Epic \u7f51\u7ad9\u3002 \u8fd9\u91cc\uff0c\u6211\u4eec\u672c\u8d28\u4e0a\u8981\u505a\u7684\u662f\u901a\u8fc7\u9009\u9879 <code>EditorPlatforms<\/code> \u8fed\u4ee3\u4f20\u9012\u7ed9\u811a\u672c\u7684\u5e73\u53f0\u5217\u8868\uff0c\u5e76\u4e3a\u6bcf\u4e2a\u5e73\u53f0\u6784\u5efa<em>\u7f16\u8f91\u5668<\/em>\u3002 \u8fd9\u90e8\u5206\u4ee3\u7801\u7684\u4e00\u4e2a\u6709\u8da3\u7684\u529f\u80fd\u662f\u4ee3\u7406\u8282\u70b9\u7684 <code>Type<\/code> \u5c5e\u6027\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;Agent ... Type=\"\"&gt;<\/pre>\n<p>\u5728<a href=\"https:\/\/dev.epicgames.com\/documentation\/en-us\/unreal-engine\/buildgraph-script-elements-reference-for-unreal-engine#agent\" target=\"_blank\" rel=\"noopener\" data-type=\"link\" data-id=\"https:\/\/dev.epicgames.com\/documentation\/en-us\/unreal-engine\/buildgraph-script-elements-reference-for-unreal-engine#agent\">\u6587\u6863<\/a>\u4e2d\u67e5\u770b\u6b64\u8868\uff1a<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473552\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-14-at-14.18.51.png\" alt=\"\" width=\"1398\" height=\"476\" \/><\/figure>\n<p>\u56e0\u6b64\uff0c\u4e3a\u4e86\u5728\u7279\u5b9a\u4ee3\u7406\u4e0a\u8fd0\u884c\u4e00\u7ec4\u4efb\u52a1\uff0c\u60a8\u53ef\u4ee5\u4fee\u6539\u6b64\u5b57\u6bb5\u3002 \u64b0\u5199\u8fd9\u7bc7\u535a\u6587\u65f6\uff0c\u4e3a\u4e86\u786e\u4fdd\u4e00\u5207\u6b63\u5e38\u8fd0\u884c\uff0c\u672c\u90e8\u5206\u9700\u8981\u5bf9\u6784\u5efa\u4ee3\u7406\u8fdb\u884c\u4e00\u4e9b\u914d\u7f6e\u3002 \u4e5f\u5c31\u662f\u8bf4\uff0c\u60a8\u5e94\u5f53\u5728<a href=\"https:\/\/www.jetbrains.com\/help\/teamcity\/configure-agent-installation.html\" target=\"_blank\" rel=\"noopener\">\u4ee3\u7406\u914d\u7f6e\u6587\u4ef6<\/a>\u4e2d\u5b9a\u4e49\u4e24\u4e2a\u5c5e\u6027\uff1a<\/p>\n<ul>\n<li><code>unreal-engine.build-graph.agent.type<\/code>\uff1a\u6b64\u5c5e\u6027\u53ef\u4ee5\u662f\u4efb\u610f\u503c\uff08\u6216\u7531 <strong>;<\/strong> \u5206\u9694\u7684\u503c\u5217\u8868\uff09\u3002 \u76f8\u5e94\u7684\u4efb\u52a1\u96c6\u968f\u540e\u5c06\u4ec5\u5728\u81f3\u5c11\u6709\u4e00\u4e2a\u5339\u914d\u9879\u7684\u4ee3\u7406\u4e0a\u8fd0\u884c\u3002<\/li>\n<li><code>unreal-engine.build-graph.agent.shared-dir<\/code>\uff1a\u524d\u6587\u4e2d\u8ba8\u8bba\u8fc7\uff0c\u4e3a\u4e86\u8fd0\u884c\u5206\u5e03\u5f0f BuildGraph \u6784\u5efa\uff0c\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u5171\u4eab\u5b58\u50a8\u4f4d\u7f6e\u3002 \u901a\u8fc7\u6b64\u5c5e\u6027\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u7279\u5b9a\u4ee3\u7406\u4e0a\u8bbe\u7f6e\u8be5\u5b58\u50a8\u4f4d\u7f6e\u7684\u8def\u5f84\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0b\u662f\u6211\u4eec\u7684 EC2 \u6784\u5efa\u4ee3\u7406\u8bbe\u7f6e\uff1a<\/p>\n<ul>\n<li>\u5bf9\u4e8e Linux\uff1a<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\">unreal-engine.build-graph.agent.type = CompileLinux;CookLinux;Linux\nunreal-engine.build-graph.agent.shared-dir = \/mnt\/agent-shared-dir\/intermediate<\/pre>\n<ul>\n<li>\u5bf9\u4e8e Windows\uff08\u7531\u4e8e\u67d0\u4e9b\u539f\u56e0\uff0c\u5c06\u6587\u4ef6\u5939\u4f5c\u4e3a\u5355\u72ec\u7684\u9a71\u52a8\u5668\u8fdb\u884c\u88c5\u8f7d\u5bfc\u81f4\u4e00\u6b21 Windows \u7cfb\u7edf\u8c03\u7528\u5931\u8d25\uff0c\u56e0\u6b64\u6211\u4eec\u5728\u914d\u7f6e\u4e2d\u9009\u62e9\u4e86\u7f51\u7edc\u5171\u4eab\uff09\uff1a<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">unreal-engine.build-graph.agent.type = CompileWin64;CookWin64;Win64\nunreal-engine.build-graph.agent.shared-dir = \\\\\\\\fs-040b8d6dab476baf1.fsx.eu-west-1.amazonaws.com\\\\fsx\\\\<\/pre>\n<p>\u5728\u771f\u5b9e\u573a\u666f\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u533a\u5206\u6267\u884c\u70d8\u7119\u7684\u4ee3\u7406\u548c\u6267\u884c\u7f16\u8bd1\u7684\u4ee3\u7406\uff0c\u5e76\u786e\u4fdd\u5b83\u4eec\u91c7\u7528\u5408\u9002\u7684\u89c4\u8303\u3002<\/p>\n<p>\u6211\u4eec\u6765\u5feb\u901f\u6d4f\u89c8\u4e00\u4e0b\u6e38\u620f\u7684\u7f16\u8bd1\u3001\u70d8\u7119\u548c\u5c01\u88c5\u8fc7\u7a0b\u3002 \u5728\u6211\u4eec\u7684\u811a\u672c\u4e2d\uff0c\u6211\u4eec\u5df2\u5c06\u6784\u5efa\u5ba2\u6237\u7aef\u7684\u903b\u8f91\u548c\u6784\u5efa\u670d\u52a1\u5668\u7684\u903b\u8f91\u5206\u5f00\uff08\u56e0\u4e3a\u5b83\u4eec\u4f20\u9012\u7684\u6807\u5fd7\u4e0d\u540c\uff09\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;ForEach Name=\"Platform\" Values=\"$(ClientPlatforms)\" Separator=\"+\"&gt;\n    &lt;!-- COMPILATION --&gt;\n    &lt;Property Name=\"Compiler\" Value=\"$(AgentPrefixCompile)$(Platform)\" \/&gt;\n    &lt;Agent Name=\"Compile $(Platform) Client\" Type=\"$(Compiler)\"&gt;\n\n      &lt;Property Name=\"CompileNodeName\" Value=\"Compile $(Platform) Client\" \/&gt;  \n      &lt;Node Name=\"$(CompileNodeName)\" Requires=\"$(ToolsNodeName) $(Platform)\" Produces=\"#$(Platform) Client Binaries\"&gt;\n        &lt;ForEach Name=\"TargetConfiguration\" Values=\"$(TargetConfigurations)\" Separator=\"+\"&gt;    \n          &lt;Compile Target=\"$(ProjectName)Client\" Project=\"$(UProject)\" Platform=\"$(Platform)\" Configuration=\"$(TargetConfiguration)\" Arguments=\"$(ExtraProjectCompileArguments)\" \/&gt;\n        &lt;\/ForEach&gt;\n      &lt;\/Node&gt;\n\n      &lt;Property Name=\"BuildNodes\" Value=\"$(BuildNodes);$(CompileNodeName);\" \/&gt;\n    &lt;\/Agent&gt;\n\n    &lt;!-- COOKING --&gt;\n    &lt;Property Name=\"Cooker\" Value=\"$(AgentPrefixCook)$(Platform)\" \/&gt;\n\n    &lt;Property Name=\"CookPlatformNodeName\" Value=\"Cook $(Platform) Client\" \/&gt;\n    &lt;Agent Name=\"Cook $(Platform) Client\" Type=\"$(Cooker)\"&gt;\n      &lt;Property Name=\"CookPlatform\" Value=\"$(Platform)\" \/&gt;\n      &lt;Property Name=\"CookPlatform\" Value=\"Windows\" If=\"'$(Platform)' == 'Win64'\" \/&gt;\n\n      &lt;Node Name=\"$(CookPlatformNodeName)\" Requires=\"$(EditorNodeName) $(Platform)\" Produces=\"#Cook $(Platform) Client Complete\"&gt;\n        &lt;Cook Project=\"$(UProject)\" Platform=\"$(CookPlatform)Client\"\/&gt;\n      &lt;\/Node&gt;\n    &lt;\/Agent&gt;\n\n    &lt;Property Name=\"BuildNodes\" Value=\"$(BuildNodes);$(CookPlatformNodeName);\" \/&gt;\n\n    &lt;!-- PACKAGING --&gt;\n    &lt;Agent Name=\"Package $(Platform) Client\" Type=\"$(Platform)\"&gt;\n      &lt;Property Name=\"BCRArgs\" Value=\"-Project='$(UProject)' -Platform=$(Platform) -NoCodeSign -Client\" \/&gt;\n\n        &lt;!-- Stage --&gt;\n      &lt;Node Name=\"Stage $(Platform) Client\" Requires=\"Compile $(Platform) Client;Cook $(Platform) Client\"&gt;\n        &lt;ForEach Name=\"TargetConfiguration\" Values=\"$(TargetConfigurations)\" Separator=\"+\"&gt;\n          &lt;Command Name=\"BuildCookRun\" Arguments=\"$(BCRArgs) -Configuration=$(TargetConfiguration) -SkipBuild -SkipCook -Stage -Pak\" \/&gt;\n        &lt;\/ForEach&gt;\n      &lt;\/Node&gt;\n\n      &lt;!-- Package --&gt;\n      &lt;Node Name=\"Package $(Platform) Client\" Requires=\"Stage $(Platform) Client\"&gt;\n        &lt;ForEach Name=\"TargetConfiguration\" Values=\"$(TargetConfigurations)\" Separator=\"+\"&gt;    \n          &lt;Command Name=\"BuildCookRun\" Arguments=\"$(BCRArgs) -Configuration=$(TargetConfiguration) -SkipBuild -SkipCook -SkipStage -Package\" \/&gt;\n        &lt;\/ForEach&gt;\n      &lt;\/Node&gt;\n\n      &lt;!-- Publish (Packages) --&gt;\n      &lt;Node Name=\"Archive $(Platform) Client\" Requires=\"Package $(Platform) Client\"&gt;\n        &lt;ForEach Name=\"TargetConfiguration\" Values=\"$(TargetConfigurations)\" Separator=\"+\"&gt;    \n          &lt;Command Name=\"BuildCookRun\" Arguments=\"$(BCRArgs) -Configuration=$(TargetConfiguration) -SkipBuild -SkipCook -SkipStage -SkipPak -SkipPackage -Archive\" \/&gt;\n        &lt;\/ForEach&gt;\n      &lt;\/Node&gt;\n\n      &lt;Node Name=\"Publish $(Platform) Client\" Requires=\"Archive $(Platform) Client\"&gt;\n        &lt;Property Name=\"PublishPlatform\" Value=\"$(Platform)\" \/&gt;\n        &lt;Property Name=\"PublishPlatform\" Value=\"Windows\" If=\"'$(Platform)' == 'Win64'\" \/&gt;\n        &lt;Log Message=\"##teamcity[publishArtifacts 'game\/ArchivedBuilds\/$(PublishPlatform)Client=&gt;$(PublishPlatform)Client.zip']\" \/&gt;\n      &lt;\/Node&gt;\n    &lt;\/Agent&gt;\n\n    &lt;Property Name=\"BuildNodes\" Value=\"$(BuildNodes);Archive $(Platform) Client;Publish $(Platform) Client\" \/&gt;\n  &lt;\/ForEach&gt;<\/pre>\n<p>\u811a\u672c\u672c\u8eab\u4e0d\u9700\u8981\u8fc7\u591a\u89e3\u91ca\u3002 \u6211\u4eec\u4f1a\u8fed\u4ee3\u5e0c\u671b\u5ba2\u6237\u7aef\u5728\u5176\u4e0a\u8fd0\u884c\u7684\u5e73\u53f0\u5217\u8868\uff0c\u8be5\u5217\u8868\u4f1a\u518d\u6b21\u4f5c\u4e3a\u9009\u9879\u4f20\u9012\u3002 \u6211\u4eec\u9488\u5bf9\u6bcf\u4e2a\u5e73\u53f0\u8fdb\u884c\u7f16\u8bd1\u3001\u70d8\u7119\u8d44\u6e90\uff0c\u6700\u540e\u5c06\u4e00\u5207\u5c01\u88c5\u8d77\u6765\u3002 \u4f5c\u4e3a\u5c01\u88c5\u8fc7\u7a0b\u7684\u6700\u540e\u4e00\u6b65\uff0c\u6211\u4eec\u4f7f\u7528\u670d\u52a1\u6d88\u606f\u5c06\u6784\u5efa\u7684\u5ba2\u6237\u7aef\u4f5c\u4e3a TeamCity \u6784\u5efa\u5de5\u4ef6\u53d1\u5e03\u3002<\/p>\n<p>\u60a8\u53ef\u80fd\u5df2\u7ecf\u6ce8\u610f\u5230\uff0c\u5728\u8fd9\u90e8\u5206\u811a\u672c\u4e2d\uff0c\u6211\u4eec\u6709\u4e09\u4e2a\u4ee3\u7406\u4ee3\u8868\u6784\u5efa\u8fc7\u7a0b\u7684\u4e09\u4e2a\u9636\u6bb5\uff08\u7f16\u8bd1\u3001\u70d8\u7119\u548c\u5c01\u88c5\uff09\u3002 \u7f16\u8bd1\u9700\u8981\u4f7f\u7528\u5c5e\u4e8e\u7f16\u8f91\u5668\u7684\u5de5\u5177\uff0c\u4f46\u4e0d\u9700\u8981\u7f16\u8f91\u5668\u672c\u8eab\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;Node Name=\"$(CompileNodeName)\" Requires=\"$(ToolsNodeName) $(Platform)\" Produces=\"#$(Platform) Client Binaries\"&gt;<\/pre>\n<p>\u540c\u65f6\uff0c\u70d8\u7119\u8fc7\u7a0b\u9700\u8981\u5b9e\u9645\u7684\u7f16\u8f91\u5668\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;Node Name=\"$(CookPlatformNodeName)\" Requires=\"$(EditorNodeName) $(Platform)\" Produces=\"#Cook $(Platform) Client Complete\"&gt;<\/pre>\n<p>\u7531\u4e8e\u8fd9\u4e24\u4e2a\u8fc7\u7a0b\u4e4b\u95f4\u6ca1\u6709\u4f9d\u8d56\u5173\u7cfb\uff0c\u5b83\u4eec\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u8ba1\u7b97\u673a\u4e0a\u5e76\u884c\u8fd0\u884c\uff08\u5728\u6709\u8db3\u591f\u591a\u7684\u8ba1\u7b97\u673a\u53ef\u7528\u7684\u60c5\u51b5\u4e0b\uff09\u3002 \u8fd9\u4e00\u7b80\u5355\u793a\u4f8b\u6f14\u793a\u4e86\u4f7f\u7528 BuildGraph \u7684\u5f3a\u5927\u529f\u80fd\uff1a\u60a8\u53ea\u9700\u63cf\u8ff0\u5171\u4eab\u4f9d\u8d56\u9879\u7684\u5404\u9879\u5de5\u4f5c\uff0c\u7136\u540e\u5b83\u4eec\u5c31\u4f1a\u540c\u65f6\u8fd0\u884c\u3002<\/p>\n<p>\u4e3a\u4e86\u7b80\u6d01\u8d77\u89c1\uff0c\u6211\u4eec\u4e0d\u4f1a\u663e\u793a\u5305\u542b\u670d\u52a1\u5668\u90e8\u5206\u7684\u811a\u672c\u7684\u5176\u4f59\u90e8\u5206\uff0c\u56e0\u4e3a\u8fd9\u90e8\u5206\u5185\u5bb9\u4e0e\u6211\u4eec\u521a\u624d\u63cf\u8ff0\u7684\u5185\u5bb9\u975e\u5e38\u76f8\u4f3c\uff0c\u53ea\u6709\u6807\u5fd7\u96c6\u5408\u4e0d\u540c\u3002<\/p>\n<p>\u6700\u540e\uff0c\u6211\u4eec\u8981\u4ecb\u7ecd TeamCity \u4e2d\u7684\u63d2\u4ef6\u914d\u7f6e\u3002 \u7531\u4e8e\u5927\u90e8\u5206\u5de5\u4f5c\u5df2\u5728 BuildGraph XML \u811a\u672c\u4e2d\u63cf\u8ff0\uff0cDSL \u914d\u7f6e\u76f8\u5f53\u7b80\u5355\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">params {\n    param(\"env.UE_SharedDataCachePath\", \"\/mnt\/agent-shared-dir\/ddc\")\n    param(\"env.UE-SharedDataCachePath\", \"\\\\\\\\fs-040b8d6dab476baf1.fsx.eu-west-1.amazonaws.com\\\\fsx\\\\ddc\")\n}\n\nsteps {\n    unrealEngine {\n        id = \"Unreal_Engine\"\n        name = \"Build\"\n        engineDetectionMode = manual {\n            rootDir = \"engine\"\n        }\n        command = buildGraph {\n            script = \"game\/BuildProject.xml\"\n            targetNode = \"BuildProject\"\n            options = \"\"\"\n                ProjectPath=%teamcity.build.checkoutDir%\/game\n                ProjectName=Lyra\n                ClientPlatforms=Linux+Win64\n                ServerPlatforms=Linux\n                EditorPlatforms=Linux+Win64\n                TargetConfigurations=Shipping\n            \"\"\".trimIndent()\n            mode = UnrealEngine.BuildGraphMode.Distributed\n        }\n        additionalArguments = \"-utf8output -buildmachine -unattended -noP4 -nosplash -stdout -NoCodeSign\"\n    }\n}<\/pre>\n<p>\u5728\u8fd9\u91cc\uff0c\u6307\u5b9a\u6211\u4eec\u5e0c\u671b\u5728\u5206\u5e03\u5f0f\u6a21\u5f0f\u4e0b\u8fd0\u884c\u63d0\u4f9b\u7684 BuildGraph \u811a\u672c\u3002 \u4f46\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u610f\u613f\u968f\u65f6\u9009\u62e9\u5728\u4e00\u53f0\u8ba1\u7b97\u673a\u4e0a\u6309\u987a\u5e8f\u8fd0\u884c\u6240\u6709\u8282\u70b9\u3002 \u6211\u4eec\u8fd8\u6307\u5b9a\u4e86<a href=\"https:\/\/dev.epicgames.com\/documentation\/en-us\/unreal-engine\/using-derived-data-cache-in-unreal-engine#howtosetupasharedddc\" target=\"_blank\" rel=\"noopener\">\u4e00\u4e9b\u73af\u5883\u53d8\u91cf<\/a>\uff0c\u5982\u679c\u5f15\u64ce\u8981\u542f\u7528\u5171\u4eab DDC\uff0c\u5219\u9700\u8981\u4f7f\u7528\u8fd9\u4e9b\u53d8\u91cf\u3002 \u8fd9\u4e9b\u6587\u4ef6\u5939\u5e94\u5f53\u5df2\u88c5\u8f7d\u5230\u8fde\u63a5\u81f3 TeamCity \u7684\u4ee3\u7406\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u60a8\u53ef\u4ee5\u4e3a\u6211\u4eec\u7684\u6e38\u620f\u4f20\u9012\u4ee5\u4e0b\u5305\u542b\u4e09\u4e2a\u5e73\u53f0\u9009\u9879\u7684\u5217\u8868\uff1a<code>ClientPlatforms<\/code>\u3001<code>ServerPlatforms<\/code> \u548c <code>EditorPlatforms<\/code>\u3002<\/p>\n<p>UI \u4e2d\u7684\u663e\u793a\u5982\u4e0b\uff1a<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473563\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/build-step-unreal-engine.png\" alt=\"\" width=\"1766\" height=\"1654\" \/><\/figure>\n<p>\u542f\u52a8\u6784\u5efa\u65f6\uff0c\u6211\u4eec\u4f1a\u83b7\u5f97\u6b64\u6784\u5efa\u94fe\uff1a<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473574\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/build-chain-unreal-engine.png\" alt=\"\" width=\"2000\" height=\"1178\" \/><\/figure>\n<p>\u56e0\u6b64\uff0c\u5982\u6211\u4eec\u6240\u89c1\uff0c\u63d2\u4ef6\u5df2\u5c06\u6784\u5efa\u56fe\u8f6c\u6362\u4e3a\u9002\u5f53\u7684 TeamCity \u6784\u5efa\u94fe\u3002<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u5728\u6307\u5b9a\u6784\u5efa\u7684\u76f8\u5e94\u6807\u7b7e\u9875\u4e0a\u67e5\u770b\u5df2\u53d1\u5e03\u7684\u5de5\u4ef6\u3002 Linux \u670d\u52a1\u5668\u7684\u663e\u793a\u5982\u4e0b\uff1a<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-473596\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2024\/05\/linux-server-unreal-engine-teamcity-1.png\" alt=\"\" width=\"2000\" height=\"984\" \/><\/figure>\n<p>\u5728\u7ed3\u675f\u4e4b\u524d\uff0c\u6211\u4eec\u60f3\u5f3a\u8c03\u4e00\u4e9b\u8981\u70b9\uff0c\u8bf7\u60a8\u52a1\u5fc5\u7262\u8bb0\uff1a<\/p>\n<ul>\n<li>\u4e3a\u4e86\u786e\u4fdd BuildGraph \u5206\u53d1\u8fc7\u7a0b\u6b63\u5e38\u8fd0\u884c\uff0c\u60a8\u7684\u6784\u5efa\u914d\u7f6e\u5e94\u4ec5\u5305\u542b\u4e00\u4e2a\u6709\u6548\u6784\u5efa\u6b65\u9aa4\u3002<\/li>\n<li>\u76ee\u524d\uff0c\u8be5\u63d2\u4ef6\u4e0d\u4f1a\u4ee5\u4efb\u4f55\u65b9\u5f0f\u7ba1\u7406\u5171\u4eab\u5b58\u50a8\u4e2d\u751f\u6210\u7684\u5de5\u4ef6\u7684\u4fdd\u7559\u671f\u3002 \u60a8\u8d1f\u8d23\u6b63\u786e\u8bbe\u7f6e\u4fdd\u7559\u671f\u3002<\/li>\n<li>\u8fd9\u7bc7\u535a\u6587\u4e2d\u7684\u793a\u4f8b\u7edd\u4e0d\u53ef\u7528\u4e8e\u751f\u4ea7\u3002 \u60a8\u7684\u771f\u5b9e\u573a\u666f\u53ef\u80fd\u4f1a\u66f4\u52a0\u590d\u6742\u3002 \u4f46\u8fd9\u4e9b\u793a\u4f8b\u53ef\u4f5c\u4e3a\u4e00\u4e2a\u826f\u597d\u7684\u8d77\u70b9\u3002<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\"><strong>\u7acb\u5373\u8bd5\u7528\uff01<\/strong><\/h2>\n<p>\u60a8\u53ef\u4ee5\u4ece <a href=\"https:\/\/github.com\/lesley29\/unreal-teamcity-demo\" target=\"_blank\" rel=\"noopener\">GitHub \u4ed3\u5e93<\/a>\u4e2d\u83b7\u53d6\u8fd9\u7bc7\u535a\u6587\u4e2d\u5c55\u793a\u7684\u6f14\u793a\u4ee3\u7801\u3002<\/p>\n<p>\u5982\u679c\u60a8\u60f3\u5c1d\u8bd5\u7528\u4e8e TeamCity \u7684 Unreal Engine \u63d2\u4ef6\uff0c\u53ef\u4ece <a href=\"https:\/\/plugins.jetbrains.com\/plugin\/22679-unreal-engine-support\" target=\"_blank\" rel=\"noopener\">JetBrains Marketplace<\/a> \u4e0b\u8f7d\uff0c\u5e76\u5728 TeamCity On-Premises \u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u3002<\/p>\n<p>\u5bf9\u4e8e TeamCity Cloud \u7528\u6237\uff0c\u6211\u4eec\u5df2\u9884\u88c5\u4e86 Unreal Engine \u63d2\u4ef6\uff0c\u60a8\u53ea\u9700\u6dfb\u52a0 Unreal Engine \u6784\u5efa\u6b65\u9aa4\u4fbf\u53ef\u4f7f\u7528\u6b64\u63d2\u4ef6\u3002 \u9700\u8981\u63d0\u9192\u60a8\u7684\u662f\uff0cTeamCity Cloud \u4ee3\u7406\u6ca1\u6709\u9884\u88c5 Unreal Engine\uff0c\u56e0\u6b64\u60a8\u9700\u8981\u4f7f\u7528\u81ea\u6258\u7ba1\u4ee3\u7406\u8fd0\u884c Unreal Engine \u6784\u5efa\u3002<\/p>\n<p>\u9488\u5bf9\u4e00\u76f4\u4f7f\u7528\u9884\u89c8\u7248\u63d2\u4ef6\uff08\u4ece 0.x.x \u5f00\u59cb\u7684\u4efb\u4f55\u7248\u672c\uff09\u7684\u7528\u6237\u7684\u91cd\u8981\u8bf4\u660e\uff1a\u8bf7\u6ce8\u610f\uff0c\u7531\u4e8e\u6211\u4eec\u5728 1.0.0 \u7248\u4e2d\u8fdb\u884c\u4e86\u66f4\u6539\u5e76\u91cd\u65b0\u8bbe\u8ba1\u4e86\u591a\u4e2a\u529f\u80fd\uff0c\u60a8\u7684\u73b0\u6709\u914d\u7f6e\u5c06\u88ab\u7834\u574f\u3002 \u60a8\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u65b0\u7248\u63d2\u4ef6\u91cd\u65b0\u521b\u5efa\u8fd9\u4e9b\u914d\u7f6e\u3002<\/p>\n<h2 class=\"wp-block-heading\"><strong>\u540e\u7eed\u8ba1\u5212<\/strong><\/h2>\n<p>\u9996\u5148\uff0c\u6211\u4eec\u671f\u5f85\u6536\u5230\u60a8\u7684\u53cd\u9988\u3002 \u60a8\u53ef\u4ee5\u968f\u65f6\u8054\u7cfb\u6211\u4eec\uff1a\u901a\u8fc7\u6211\u4eec\u7684<a href=\"https:\/\/youtrack.jetbrains.com\/issues\/TW\" target=\"_blank\" rel=\"noopener\">\u95ee\u9898\u8ddf\u8e2a\u5668<\/a>\u63d0\u4ea4\u5de5\u5355\u6216\u5bf9\u8fd9\u7bc7\u535a\u6587\u53d1\u8868\u8bc4\u8bba\u3002<\/p>\n<p>\u6211\u4eec\u5bf9\u4eca\u540e\u7684\u5de5\u4f5c\u8fd8\u6709\u4e00\u4e9b\u60f3\u6cd5\uff0c\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u63d0\u4f9b\u66f4\u52a0\u6df1\u5165\u7684\u6784\u5efa\u65e5\u5fd7\u5206\u6790\u3002<\/li>\n<li>\u5305\u542b\u4e0e UnrealGameSync (UGS) \u7684\u96c6\u6210\uff0c\u6dfb\u52a0\u6784\u5efa\u72b6\u6001\u53d1\u5e03\u7b49\u529f\u80fd\uff0c\u4ee5\u53ca\u63d0\u4f9b\u5f00\u7bb1\u5373\u7528\u7684\u5143\u6570\u636e\u670d\u52a1\u5668\u3002<\/li>\n<li>\u6dfb\u52a0\u5bf9\u6784\u5efa\u8ba1\u7b97\u673a\u4e0a\u53ef\u7528 SDK \u7684\u68c0\u6d4b\uff0c\u53ef\u80fd\u4f1a\u4f7f\u7528\u6574\u4f53\u89e3\u51b3\u65b9\u6848\u3002<\/li>\n<li>\u4e86\u89e3 Gauntlet \u81ea\u52a8\u5316\u6846\u67b6\u4ee5\u53ca\u6211\u4eec\u53ef\u4ee5\u5728\u5176\u4e2d\u6267\u884c\u7684\u64cd\u4f5c\u3002<\/li>\n<li>\u4e86\u89e3\u6211\u4eec\u5982\u4f55\u5229\u7528 Epic Games \u63a8\u51fa\u7684\u6784\u5efa\u8fc7\u7a0b\u4e2d\u7684\u6700\u65b0\u8fdb\u5c55\uff0c\u5373\u67e5\u770b Unreal Build Accelerator (UBA) \u5e76\u901a\u8fc7 TeamCity \u5728\u4ee3\u7406\u4e0a\u8fdb\u884c\u534f\u8c03\u3002<\/li>\n<li>\u5c06\u63d2\u4ef6\u5f00\u6e90\u3002 \u6211\u4eec\u76f8\u4fe1\u8fd9\u5c06\u63d0\u9ad8\u900f\u660e\u5ea6\uff0c\u5e76\u4ece\u6574\u4f53\u4e0a\u521b\u5efa\u66f4\u597d\u7684\u63d2\u4ef6\u3002 \u6b64\u5916\uff0c\u5f00\u6e90\u4f1a\u5e26\u6765\u5f88\u591a\u4e50\u8da3\u3002<\/li>\n<li>\u60a8\u80fd\u60f3\u5230\u7684\u5176\u4ed6\u4efb\u4f55\u60f3\u6cd5\uff01 \u5982\u679c\u60a8\u6709\u4efb\u4f55\u597d\u7684\u60f3\u6cd5\uff0c\u8bf7\u968f\u65f6\u901a\u8fc7\u4e0a\u8ff0\u4efb\u4f55\u6e20\u9053\u8054\u7cfb\u6211\u4eec\uff0c\u6216\u76f4\u63a5\u5728\u8fd9\u7bc7\u535a\u6587\u4e0b\u53d1\u8868\u8bc4\u8bba\u3002<\/li>\n<\/ul>\n<p>\u672c\u535a\u6587\u82f1\u6587\u539f\u4f5c\u8005\uff1a<\/p>\n\n    <div class=\"about-author \">\n        <div class=\"about-author__box\">\n            <div class=\"row\">\n                <div class=\"about-author__box-img\">\n                    <img decoding=\"async\" src=\"https:\/\/secure.gravatar.com\/avatar\/?s=200&#038;r=g\" width=\"200\" height=\"200\" alt=\"\" loading=\"lazy\"  class=\"avatar avatar-200 wp-user-avatar wp-user-avatar-200 photo avatar-default\">\n                <\/div>\n                <div class=\"about-author__box-text\">\n                                                        <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n","protected":false},"author":1297,"featured_media":473624,"comment_status":"closed","ping_status":"closed","template":"","categories":[808,1065,907],"tags":[1817,477],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/teamcity\/482341"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/teamcity"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/teamcity"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/1297"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=482341"}],"version-history":[{"count":10,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/teamcity\/482341\/revisions"}],"predecessor-version":[{"id":485461,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/teamcity\/482341\/revisions\/485461"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/473624"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=482341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=482341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=482341"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=482341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}