{"id":395834,"date":"2023-10-16T06:02:58","date_gmt":"2023-10-16T05:02:58","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=teamcity&#038;p=395834"},"modified":"2023-11-06T04:30:47","modified_gmt":"2023-11-06T03:30:47","slug":"how-to-choose-cicd-tool","status":"publish","type":"teamcity","link":"https:\/\/blog.jetbrains.com\/zh-hans\/teamcity\/2023\/10\/how-to-choose-cicd-tool\/","title":{"rendered":"\u5982\u4f55\u9009\u62e9 CI\/CD \u5de5\u5177\uff1a\u6846\u67b6"},"content":{"rendered":"<p>\u4e3a\u7ec4\u7ec7\u9009\u62e9 CI\/CD \u5de5\u5177\u65f6\uff0c\u6709\u5f88\u591a\u9009\u9879\u3002 \u5728 <a href=\"https:\/\/www.g2.com\/\" target=\"_blank\" rel=\"noopener\">G2<\/a> \u7b49\u7b2c\u4e09\u65b9\u7f51\u7ad9\u8fdb\u884c\u76f4\u63a5\u529f\u80fd\u6bd4\u8f83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u6df1\u5165\u4e86\u89e3\u5de5\u5177\u7684\u6838\u5fc3\u529f\u80fd\u3002\u00a0<\/p>\n<p>\u4e0d\u8fc7\uff0c\u60a8\u53ef\u80fd\u4ecd\u7136\u4f1a\u96be\u4ee5\u4e86\u89e3\u5de5\u5177\u662f\u5426\u80fd\u591f\u6ee1\u8db3\u7279\u5b9a\u8981\u6c42\u3001\u4f7f\u7528\u8d77\u6765\u6709\u591a\u5bb9\u6613\uff0c\u6216\u8005\u5b83\u4e0e\u60a8\u7684\u884c\u4e1a\u6cd5\u89c4\u6709\u591a\u7b26\u5408\u3002<\/p>\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-381917\" style=\"width: 840px; height: 473px;\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/08\/how-to-choose-a-cicd-tool-featured-1.png\" alt=\"\u5982\u4f55\u9009\u62e9 CI\/CD \u5de5\u5177\" width=\"840\" height=\"473\" \/><\/figure>\n<p>\u5728\u8fd9\u7bc7\u535a\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u63d0\u4f9b\u9009\u62e9\u5408\u9002 CI\/CD \u89e3\u51b3\u65b9\u6848\u7684\u901a\u7528\u51c6\u5219\uff0c\u5e76\u6df1\u5165\u63a2\u8ba8 TeamCity \u5982\u4f55\u878d\u5165\u8fd9\u4e00\u6846\u67b6\u3002 \u6211\u4eec\u5e0c\u671b\u8fd9\u80fd\u5e2e\u52a9\u60a8\u5728\u4e3a\u7ec4\u7ec7\u9009\u62e9\u6700\u4f73\u5de5\u5177\u65f6\u505a\u51fa\u660e\u667a\u51b3\u5b9a\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u9009\u62e9\u7b26\u5408\u9700\u6c42\u548c\u76ee\u6807\u7684\u5408\u9002 CI\/CD \u5de5\u5177<\/h2>\n<p>\u4e0d\u540c\u56e2\u961f\u5bf9 CI\/CD \u89e3\u51b3\u65b9\u6848\u7684\u9700\u6c42\u53ef\u80fd\u5b58\u5728\u5f88\u5927\u5dee\u5f02\uff0c\u5e76\u4e14\u5b8c\u7f8e\u670d\u52a1\u4e8e\u4e00\u4e2a\u56e2\u961f\u7684\u5de5\u5177\u53ef\u80fd\u5e76\u4e0d\u9002\u5408\u53e6\u4e00\u4e2a\u56e2\u961f\u3002<\/p>\n<p>\u6211\u4eec\u5efa\u8bae\uff0c\u4e3a\u56e2\u961f\u9009\u62e9 CI\/CD \u89e3\u51b3\u65b9\u6848\u65f6\u8981\u8003\u8651\u4ee5\u4e0b\u4e03\u5927\u4e3b\u8981\u56e0\u7d20\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><strong>\u5f00\u53d1\u5de5\u4f5c\u6d41<\/strong>\u3002\u89e3\u51b3\u65b9\u6848\u5e94\u8be5\u80fd\u591f\u987a\u5229\u96c6\u6210\u5230\u5f00\u53d1\u5de5\u4f5c\u6d41\u4e2d\uff0c\u4e0d\u9700\u8981\u7f16\u5199\u5927\u91cf\u81ea\u5b9a\u4e49\u811a\u672c\u6216\u63d2\u4ef6\u3002<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><strong>\u7ba1\u9053\u914d\u7f6e<\/strong>\u3002 \u5de5\u5177\u5e94\u8be5\u4e3a\u73af\u5883\u3001\u5b89\u5168\u68c0\u67e5\u3001\u5ba1\u6279\u7b49\u63d0\u4f9b\u7075\u6d3b\u8bbe\u7f6e\uff0c\u5141\u8bb8\u5de5\u4ef6\u548c\u4f9d\u8d56\u9879\u5728\u6784\u5efa\u6b65\u9aa4\u4e4b\u95f4\u6b63\u786e\u6d41\u52a8\u3002<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><strong>\u53cd\u9988\u548c\u5206\u6790<\/strong>\u3002 CI\/CD \u89e3\u51b3\u65b9\u6848\u5e94\u63d0\u4f9b\u4ece\u9519\u8bef\u6d88\u606f\u5230\u57fa\u7840\u67b6\u6784\u6027\u80fd\u7b49\u591a\u4e2a\u7ea7\u522b\u7684\u5168\u9762\u53cd\u9988\uff0c\u786e\u4fdd\u5feb\u901f\u89e3\u51b3\u95ee\u9898\u548c\u4e0d\u95f4\u65ad\u7684\u4ea4\u4ed8\u6d41\u7a0b\u3002<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><strong>\u53ef\u6269\u7f29\u6027\u548c\u7ef4\u62a4<\/strong>\u3002 \u4ece\u4e00\u79cd\u5de5\u5177\u8fc1\u79fb\u5230\u53e6\u4e00\u79cd\u5de5\u5177\u53ef\u80fd\u9700\u8981\u6570\u6708\u7684\u65f6\u95f4\uff0c\u56e0\u6b64\u4ece\u4e00\u5f00\u59cb\u5c31\u4f7f\u7528\u80fd\u591f\u6ee1\u8db3\u6240\u6709\u672a\u6765\u9700\u6c42\u7684\u89e3\u51b3\u65b9\u6848\u975e\u5e38\u91cd\u8981\u3002<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><strong>\u5b89\u5168<\/strong>\u3002 \u9632\u6b62\u6076\u610f\u884c\u4e3a\u8005\u7a83\u53d6\u6e90\u4ee3\u7801\u3001\u4fb5\u5165\u57fa\u7840\u67b6\u6784\u6216\u635f\u5bb3\u6700\u7ec8\u4ea7\u54c1\u81f3\u5173\u91cd\u8981\u3002<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><strong>\u6210\u672c\u6548\u76ca<\/strong>\u3002\u5728\u8bc4\u4f30 CI\/CD \u89e3\u51b3\u65b9\u6848\u65f6\uff0c\u4e0d\u4ec5\u8981\u8003\u8651\u8bb8\u53ef\u8bc1\u6216\u8ba2\u9605\u7684\u4ef7\u683c\uff0c\u8fd8\u8981\u8003\u8651\u8fd0\u8425\u548c\u7ef4\u62a4\u8d39\u7528\u3002<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><strong>\u6613\u7528\u6027\u548c\u652f\u6301<\/strong>\u3002\u6bcf\u4e2a\u5f00\u53d1\u8005\uff0c\u5373\u4f7f\u6ca1\u6709\u6301\u7eed\u4ea4\u4ed8\u7ecf\u9a8c\uff0c\u4e5f\u5e94\u8be5\u80fd\u591f\u4e86\u89e3\u5176\u9879\u76ee\u7684\u6784\u5efa\u548c\u90e8\u7f72\uff0c\u4ee5\u53ca\u5982\u4f55\u6709\u6548\u4f7f\u7528\u5de5\u5177\u6765\u66f4\u5feb\u4ea4\u4ed8\u66f4\u6539\u3002<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n<li><strong>\u6258\u7ba1\u6a21\u5f0f<\/strong>\u3002 \u6839\u636e\u516c\u53f8\u7684\u9700\u6c42\uff0c\u60a8\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u4e91\u6216\u81ea\u6258\u7ba1\u89e3\u51b3\u65b9\u6848\u3002 \u4e24\u79cd\u9009\u62e9\u5404\u6709\u4f18\u52bf\uff0c\u6700\u7ec8\u9009\u62e9\u5b8c\u5168\u53d6\u51b3\u4e8e\u60a8\u7684\u5177\u4f53\u9700\u6c42\u3002<\/li>\n<\/ol>\n<p>\u6240\u6709\u73b0\u4ee3\u89e3\u51b3\u65b9\u6848\u90fd\u63d0\u4f9b\u6838\u5fc3\u529f\u80fd\uff0c\u4f8b\u5982 <a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/integrations\/docker\/\" target=\"_blank\" rel=\"noopener\">Docker \u652f\u6301<\/a>\u3001<a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/features\/configuration-as-code\/\" target=\"_blank\" rel=\"noopener\">\u914d\u7f6e\u5373\u4ee3\u7801<\/a>\u6216\u62c9\u53d6\u8bf7\u6c42\u81ea\u52a8\u6784\u5efa\u3002 \u5bf9\u4e8e\u8f83\u5c0f\u7684\u9879\u76ee\uff0c\u8fd9\u4e9b\u89e3\u51b3\u65b9\u6848\u4e4b\u95f4\u7684\u5dee\u5f02\u53ef\u80fd\u5e76\u4e0d\u663e\u8457\u3002<\/p>\n<p>\u4e0d\u8fc7\uff0c\u968f\u7740\u56e2\u961f\u6210\u957f\u548c\u5de5\u4f5c\u6d41\u7684\u590d\u6742\u5316\uff0c\u6b63\u786e\u8bbe\u7f6e\u7ba1\u9053\u5e76\u786e\u4fdd\u5176\u6309\u9884\u671f\u8fd0\u884c\u5c06\u53d8\u5f97\u8d8a\u6765\u8d8a\u56f0\u96be\u3002 \u5728\u6b64\u7c7b\u60c5\u51b5\u4e0b\uff0c\u4e0d\u540c CI\/CD \u5de5\u5177\u7684\u4f53\u9a8c\u53ef\u80fd\u4f1a\u5927\u4e3a\u4e0d\u540c\u3002<\/p>\n<div style=\"border-radius: 5px; background-color: #e2f1e1; margin-bottom: 10px; padding: 15px; margin-right: 0%; font-size: 20px; line-height: 30px; text-align: justify; min-height: 20px;\">\n<p><span style=\"font-weight: 400;\">&#x1f4a1;\u53e6\u8bf7\u53c2\u9605\uff1a<\/span><a href=\"https:\/\/blog.jetbrains.com\/?post_type=teamcity&#038;p=369406\"><span style=\"font-weight: 400;\">2023 \u6700\u4f73\u6301\u7eed\u96c6\u6210\u5de5\u5177 \u2013 \u8c03\u67e5\u7ed3\u679c<\/span><\/a><\/p>\n<\/div>\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-381940\" style=\"width: 840px; height: 601px;\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/08\/which-ci-continuous-integration-system-do-you-regularly-use.png\" alt=\"\u6765\u6e90\uff1a2022 \u5f00\u53d1\u8005\u751f\u6001\u7cfb\u7edf\u62a5\u544a\" width=\"840\" height=\"601\" \/><\/figure>\n<p><em>\u6765\u6e90<\/em>\uff1a<a href=\"https:\/\/www.jetbrains.com\/lp\/devecosystem-2022\/team-tools\/?_gl=1*16va427*_ga*NzM1MjQwNTYwLjE2ODk3NTI2Nzg.*_ga_9J976DJZ68*MTY5MjA5OTYyNC4yODQuMS4xNjkyMTAyNDYyLjE0LjAuMA..&amp;_ga=2.146292093.871693255.1691998381-735240560.1689752678#do-you-use-any-of-the-following-tools-in-the-cloud-\" target=\"_blank\" rel=\"noopener\"><em>2022 \u5f00\u53d1\u8005\u751f\u6001\u7cfb\u7edf\u62a5\u544a<\/em><\/a><\/p>\n<h2 class=\"wp-block-heading\">\u5f00\u53d1\u5de5\u4f5c\u6d41<\/h2>\n<p>\u8bc4\u4f30<a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/\" target=\"_blank\" rel=\"noopener\">\u6301\u7eed\u96c6\u6210\u5de5\u5177<\/a>\u65f6\uff0c\u52a1\u5fc5\u4e86\u89e3\u5de5\u5177\u53ef\u4ee5\u5728\u591a\u5927\u7a0b\u5ea6\u4e0a\u6839\u636e\u5de5\u4f5c\u6d41\u81ea\u5b9a\u4e49\uff0c\u4ee5\u53ca\u56e2\u961f\u9700\u8981\u5728\u591a\u5927\u7a0b\u5ea6\u4e0a\u6839\u636e\u5de5\u5177\u8c03\u6574\u6d41\u7a0b\u3002 \u8003\u8651\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n<h3 class=\"wp-block-heading\">\u66f4\u6539\u5de5\u4f5c\u6d41\u7684\u591a\u6837\u6027<\/h3>\n<p>\u56e2\u961f\u53ef\u80fd\u9700\u8981\u80fd\u591f\u6784\u5efa\u6bcf\u4e2a\u62c9\u53d6\u8bf7\u6c42\uff0c\u5728\u6709\u4eba\u63d0\u4ea4\u5230\u7279\u5b9a\u5206\u652f\u65f6\u8fd0\u884c\u7ba1\u9053\uff0c\u6216\u8005\u5728\u7279\u5b9a\u7528\u6237\u66f4\u6539\u7279\u5b9a\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u65f6\u89e6\u53d1\u6784\u5efa\u3002<\/p>\n<p>\u6709\u65f6\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u8fd0\u884c\u6784\u5efa\u7ba1\u9053\u800c\u4e0d\u5411\u4ed3\u5e93\u63d0\u4ea4\u66f4\u6539\uff0c\u4ee5\u786e\u4fdd\u4e0d\u4f1a\u63d0\u4ea4\u635f\u574f\u7684\u4ee3\u7801\u5e76\u907f\u514d\u5bf9\u56e2\u961f\u6210\u5458\u7684\u5de5\u4f5c\u4ea7\u751f\u8d1f\u9762\u5f71\u54cd\u3002<\/p>\n<div style=\"background-color: #e2f1e1; margin-bottom: 10px; padding: 15px; margin-right: 0%; font-size: 20px; line-height: 30px; text-align: justify; min-height: 20px;\">\n<p><span style=\"font-weight: 400;\">&#x1f4a1;\u53e6\u8bf7\u53c2\u9605\uff1a<\/span><a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/features\/delayed_commit.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\u9884\u6d4b\u8bd5\u63d0\u4ea4\uff1a\u7248\u672c\u63a7\u5236\u4e2d\u6ca1\u6709\u635f\u574f\u7684\u4ee3\u7801<\/span><\/a><\/p>\n<\/div>\n<p>\u4ee3\u7801\u53ef\u80fd\u5206\u5e03\u5728\u4e0d\u540c\u7c7b\u578b\u7684\u591a\u4e2a\u7248\u672c\u63a7\u5236\u7cfb\u7edf (VCS) \u4e2d\uff0c\u4e5f\u53ef\u80fd\u4f4d\u4e8e\u5355\u4ed3\u5e93\u4e2d\u3002 Maven \u8f6f\u4ef6\u5305\u6216 Docker \u5bb9\u5668\u7b49\u5916\u90e8\u4f9d\u8d56\u9879\u66f4\u65b0\u65f6\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u91cd\u5efa\u548c\u91cd\u65b0\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>\u901a\u8fc7\u4ed4\u7ec6\u8bc4\u4f30 CI\/CD \u5de5\u5177\u5bf9\u7279\u5b9a\u66f4\u6539\u5de5\u4f5c\u6d41\u7684\u652f\u6301\uff0c\u60a8\u53ef\u4ee5\u786e\u4fdd\u5de5\u5177\u9002\u5408\u56e2\u961f\uff0c\u5e76\u5c06\u60a8\u81ea\u5df1\u6d41\u7a0b\u4e2d\u7684\u66f4\u6539\u9700\u6c42\u964d\u81f3\u6700\u4f4e\u3002<\/p>\n<h3 class=\"wp-block-heading\">Docker \u548c\u975e Docker \u5de5\u4f5c\u6d41<\/h3>\n<p>\u867d\u7136 <a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/integrations\/docker\/\" target=\"_blank\" rel=\"noopener\" data-type=\"link\" data-id=\"https:\/\/www.jetbrains.com\/teamcity\/integrations\/docker\/\">Docker<\/a> \u53ef\u4ee5\u63d0\u4f9b\u65b9\u4fbf\u9ad8\u6548\u7684\u65b9\u5f0f\u6765\u6784\u5efa\u591a\u79cd\u7c7b\u578b\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f46\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5fc5\u987b\u5728\u5b9e\u9645\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u3002 \u4f8b\u5982\uff0c\u5982\u679c\u5e94\u7528\u7a0b\u5e8f\u4f9d\u8d56\u4e8e\u4e0e\u65e0\u6cd5\u4ece Docker \u5bb9\u5668\u8bbf\u95ee\u7684\u786c\u4ef6\u7ec4\u4ef6\u7684\u96c6\u6210\uff0c\u5219\u60a8\u53ef\u80fd\u9700\u8981\u57fa\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u7684\u5de5\u4f5c\u6d41\u3002<\/p>\n<p>\u540c\u6837\uff0c\u5982\u679c\u60a8\u7684\u8f6f\u4ef6\u9700\u8981\u4e0e\u64cd\u4f5c\u7cfb\u7edf\u4ea4\u4e92\uff0c\u4f8b\u5982\u5f00\u53d1\u7cfb\u7edf\u9a71\u52a8\u7a0b\u5e8f\u6216 Windows \u670d\u52a1\u65f6\uff0c\u57fa\u4e8e Docker \u7684\u5de5\u4f5c\u6d41\u53ef\u80fd\u4e0d\u8db3\u4ee5\u6ee1\u8db3\u56e2\u961f\u9700\u6c42\u3002<\/p>\n<p>\u4e3a\u56e2\u961f\u9009\u62e9<a href=\"https:\/\/blog.jetbrains.com\/?post_type=teamcity&#038;p=369406\">\u6700\u4f73 CI \u5de5\u5177<\/a>\u65f6\uff0c\u5e94\u8bc4\u4f30\u5177\u4f53\u9879\u76ee\u9700\u6c42\u5e76\u8003\u8651\u8fd9\u4e24\u79cd\u65b9\u5f0f\u7684\u4f18\u70b9\u548c\u5c40\u9650\u6027\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u56e2\u961f\u6210\u719f\u5ea6<\/h3>\n<p>\u521a\u521a\u5f00\u59cb\u6301\u7eed\u96c6\u6210\u7684\u56e2\u961f\u5728\u8c03\u6574\u5de5\u4f5c\u6d41\u4ee5\u9002\u5e94\u7279\u5b9a\u89e3\u51b3\u65b9\u6848\u65b9\u9762\u53ef\u80fd\u66f4\u52a0\u7075\u6d3b\u3002 \u56e0\u6b64\uff0c\u5177\u6709\u8f83\u5c11\u53ef\u914d\u7f6e\u9009\u9879\u7684\u5de5\u5177\u53ef\u4ee5\u63d0\u4f9b\u66f4\u7b80\u5355\u76f4\u89c2\u7684\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<p>\u76f8\u6bd4\u4e4b\u4e0b\uff0c\u51c6\u786e\u4e86\u89e3\u5176\u9700\u6c42\u7684\u9ad8\u6280\u80fd\u56e2\u961f\u53ef\u80fd\u4f1a\u53d1\u73b0\u5168\u5305\u5f0f DevOps \u5e73\u53f0\u5177\u6709\u5c40\u9650\u6027\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u89e3\u51b3\u65b9\u6848\u53ef\u80fd\u65e0\u6cd5\u63d0\u4f9b\u9700\u8981\u7684\u7075\u6d3b\u6027\u548c\u81ea\u5b9a\u4e49\u6c34\u5e73\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u8fc1\u79fb\u7684\u4fbf\u6377\u6027<\/h3>\n<p>\u9009\u62e9\u65b0\u7684 CI\/CD \u5de5\u5177\u65f6\uff0c\u8fc1\u79fb\u7684\u4fbf\u6377\u6027\u5e94\u8be5\u662f\u5173\u952e\u8003\u91cf\u56e0\u7d20\u4e4b\u4e00\u3002 \u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\uff0c\u8fc1\u79fb\u5230\u72ec\u7acb\u89e3\u51b3\u65b9\u6848\u53ef\u80fd\u6bd4\u8fc1\u79fb\u5230\u5b8c\u6574\u7684 DevOps \u5e73\u53f0\u66f4\u7b80\u5355\u3002 \u7531\u6b64\uff0c\u7528\u6237\u53ef\u4ee5\u5206\u6279\u8fc1\u79fb\uff0c\u60a8\u53ea\u9700\u7f16\u5199\u66f4\u5c11\u7684\u624b\u52a8\u96c6\u6210\uff0c\u5e76\u4e14\u53ef\u4ee5\u6700\u5927\u9650\u5ea6\u5730\u51cf\u5c11\u5f00\u53d1\u5de5\u4f5c\u6d41\u6240\u53d7\u7684\u5e72\u6270\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u7ec4\u7ec7\u65b9\u9762<\/h3>\n<p>\u8003\u8651\u7ec4\u7ec7\u7684\u6587\u5316\u548c\u653f\u7b56\u81f3\u5173\u91cd\u8981\uff0c\u7279\u522b\u662f\u5728\u9f13\u52b1\u56e2\u961f\u9009\u62e9\u81ea\u5df1\u7684\u5f00\u53d1\u5de5\u5177\u7684\u60c5\u51b5\u4e0b\u3002<\/p>\n<p>\u8bf7\u6ce8\u610f\uff0c\u67d0\u4e9b\u56e2\u961f\u6210\u5458\uff0c\u7279\u522b\u5bf9\u5f53\u524d\u5de5\u5177\u611f\u5230\u8212\u9002\u548c\u719f\u6089\u7684\u56e2\u961f\u6210\u5458\uff0c\u53ef\u80fd\u4f1a\u53cd\u5bf9\u66f4\u6539\u5de5\u4f5c\u6d41\u3002<\/p>\n<h3 class=\"wp-block-heading\">TeamCity \u4e2d\u7684\u5f00\u53d1\u5de5\u4f5c\u6d41\u652f\u6301<\/h3>\n<p>TeamCity \u975e\u5e38\u9002\u5408\u4ee5\u4e0b\u5de5\u4f5c\u6d41\uff1a<\/p>\n<ul>\n<li>\u591a VCS \u652f\u6301\u3002<\/li>\n<li>\u5728\u4e0d\u63d0\u4ea4\u7684\u60c5\u51b5\u4e0b\u8fd0\u884c CI\/CD \u6d41\u7a0b\u3002<\/li>\n<li>\u7cbe\u7ec6\u63a7\u5236\u66f4\u6539\uff08\u6309\u5206\u652f\u3001\u7528\u6237\u540d\u3001\u6587\u4ef6\u63a9\u7801\u7b49\u7b5b\u9009\uff09\u3002<\/li>\n<li>\u89e6\u53d1\u5b9a\u4e49\u7684\u53c2\u6570\u3002<\/li>\n<li>\u4e0e\u5176\u4ed6\u5de5\u5177\u96c6\u6210\u7684\u5168\u9762 API\u3002<\/li>\n<\/ul>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-381951\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/08\/development-workflow-teamcity.png\" alt=\"\" width=\"850\" height=\"400\" \/><\/figure>\n<p>\u5728\u5e73\u53f0\u7684\u7b80\u5316\u4f53\u9a8c\u548c\u72ec\u7acb\u5de5\u5177\u7684\u7075\u6d3b\u6027\u4e4b\u95f4\u53ef\u80fd\u4e0d\u6613\u9009\u62e9\uff0c\u4f46\u597d\u6d88\u606f\u662f\uff0c\u4e24\u8005\u4e0d\u4e00\u5b9a\u4e92\u4e3a\u963b\u788d\u3002<\/p>\n<p>\u7531\u4e8e\u56e2\u961f\u7ecf\u5e38\u540c\u65f6\u4f7f\u7528\u591a\u4e2a CI\/CD \u5de5\u5177\uff0c\u60a8\u4e5f\u53ef\u4ee5\u7ed3\u5408\u4f7f\u7528\u72ec\u7acb\u89e3\u51b3\u65b9\u6848\u548c\u5168\u5305\u5f0f DevOps \u5e73\u53f0\uff0c\u53ea\u8981\u4e24\u8005\u4e4b\u95f4\u5177\u6709\u9002\u5f53\u96c6\u6210\u5373\u53ef\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u7ba1\u9053\u914d\u7f6e<\/h2>\n<p>\u6bcf\u4e2a\u56e2\u961f\u90fd\u6709\u81ea\u5df1\u72ec\u7279\u7684\u5de5\u4f5c\u6d41\u548c\u9700\u6c42\uff0c\u56e0\u6b64\u4f7f\u7528\u5b8c\u5168\u6ee1\u8db3\u60a8\u9700\u6c42\u7684\u53ef\u81ea\u5b9a\u4e49\u89e3\u51b3\u65b9\u6848\u81f3\u5173\u91cd\u8981\u3002 \u4ee5\u4e0b\u662f\u60a8\u5728\u9009\u62e9 CI\/CD \u5de5\u5177\u65f6\u53ef\u80fd\u4f1a\u8003\u8651\u7684\u4e0d\u540c\u7c7b\u578b\u7684\u7ba1\u9053\u914d\u7f6e\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u57fa\u4e8e UI \u548c\u4ee3\u7801\u7684\u914d\u7f6e<\/h3>\n<p>\u67d0\u4e9b\u5de5\u5177\u63d0\u4f9b\u57fa\u4e8e UI \u7684\u914d\u7f6e\u65b9\u5f0f\uff0c\u53ef\u4ee5\u8f7b\u677e\u4e0a\u624b\u548c\u7ef4\u62a4\u8bbe\u7f6e\uff0c\u56e0\u4e3a\u7ba1\u9053\u65e0\u9700\u4efb\u4f55\u7279\u6b8a\u77e5\u8bc6\u5373\u53ef\u914d\u7f6e\u3002<\/p>\n<p>\u6240\u6709\u73b0\u4ee3\u5de5\u5177\u90fd\u652f\u6301<a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/features\/configuration-as-code\/\" target=\"_blank\" rel=\"noopener\">\u914d\u7f6e\u5373\u4ee3\u7801<\/a>\uff0c\u63d0\u4f9b\u7248\u672c\u5316\u7684\u914d\u7f6e\u5386\u53f2\u3002<\/p>\n<p>\u8bb8\u591a\u5de5\u5177\u4f7f\u7528 YAML \u914d\u7f6e\uff0c\u63d0\u4f9b\u4e86\u975e\u5e38\u76f4\u89c2\u7684\u65b9\u5f0f\u6765\u81ea\u52a8\u6267\u884c\u7b80\u5355\u5e94\u7528\u7684\u6784\u5efa\u548c\u6d4b\u8bd5\u3002 \u4e0d\u8fc7\uff0c\u968f\u7740\u56e2\u961f\u548c\u57fa\u7840\u67b6\u6784\u53d8\u5f97\u66f4\u52a0\u590d\u6742\uff0c\u7ba1\u7406 YAML \u6587\u4ef6\u53ef\u80fd\u4f1a\u8d8a\u53d1\u56f0\u96be\u3002<\/p>\n<p>\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\uff0c\u4f7f\u7528\u5141\u8bb8\u5faa\u73af\u3001\u6761\u4ef6\u8bed\u53e5\u548c\u5176\u4ed6\u8bed\u8a00\u7ed3\u6784\u7684\u6210\u719f\u7f16\u7a0b\u8bed\u8a00\u914d\u7f6e CI\/CD \u53ef\u80fd\u66f4\u4e3a\u6709\u6548\u3002 \u6b64\u5916\uff0c\u5b83\u8fd8\u4f7f\u5728 IDE \u4e2d\u7f16\u5199\u914d\u7f6e\u4ee3\u7801\u4ee5\u53ca\u5229\u7528\u5176\u91cd\u6784\u548c\u8c03\u8bd5\u529f\u80fd\u66f4\u4e3a\u8f7b\u677e\u3002<\/p>\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\">\n<div class=\"wp-block-embed__wrapper\">\u00a0<\/div>\n<\/figure>\n<h3 class=\"wp-block-heading\">\u5de5\u4f5c\u6d41\u81ea\u5b9a\u4e49<\/h3>\n<p>\u81ea\u5b9a\u4e49\u662f\u9009\u62e9\u6301\u7eed\u96c6\u6210\u548c\u6301\u7eed\u4ea4\u4ed8\u8f6f\u4ef6\u7684\u5173\u952e\u65b9\u9762\uff0c\u56e0\u4e3a\u5b83\u5141\u8bb8\u56e2\u961f\u521b\u5efa\u4e0e\u5176\u7279\u5b9a\u6784\u5efa\u548c\u90e8\u7f72\u5de5\u4f5c\u6d41\u76f8\u5339\u914d\u7684\u7ba1\u9053\u3002<\/p>\n<p>\u6839\u636e\u89e6\u53d1\u4e8b\u4ef6\uff0c\u4f8b\u5982\u4ee3\u7801\u63d0\u4ea4\u3001\u4f9d\u8d56\u9879\u66f4\u65b0\u6216\u5b9a\u65f6\u89e6\u53d1\u5668\uff0c\u56e2\u961f\u53ef\u80fd\u9700\u8981\u81ea\u5b9a\u4e49\u6784\u5efa\u73af\u5883\u3001\u6d4b\u8bd5\u8303\u56f4\u3001Docker \u955c\u50cf\u6807\u7b7e\u548c\u5176\u4ed6\u7ba1\u9053\u7ec4\u4ef6\u3002<\/p>\n<p>\u5982\u9700\u5728\u540c\u4e00\u6784\u5efa\u4ee3\u7406\u4e0a\u6309\u987a\u5e8f\u6267\u884c\u7279\u5b9a\u6b65\u9aa4\uff08\u4f8b\u5982\uff0c\u60a8\u53ef\u80fd\u60f3\u8981\u542f\u52a8 Windows \u670d\u52a1\uff0c\u7136\u540e\u5728\u540c\u4e00\u7cfb\u7edf\u4e0a\u8fd0\u884c\u6784\u5efa\uff09\uff0c\u5219\u6240\u9009\u5de5\u5177\u5e94\u5f53\u80fd\u591f\u5b8c\u5168\u6839\u636e\u9700\u8981\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u73af\u5883\u914d\u7f6e<\/h3>\n<p>\u9009\u62e9 CI\/CD \u5de5\u5177\u65f6\uff0c\u5fc5\u987b\u8003\u8651\u5176\u5728\u73af\u5883\u914d\u7f6e\u65b9\u9762\u63d0\u4f9b\u7684\u81ea\u5b9a\u4e49\u6c34\u5e73\u3002 \u5177\u4f53\u6765\u8bf4\uff0c\u56e2\u961f\u5e94\u8be5\u80fd\u591f\u9009\u62e9\u6700\u7b26\u5408\u5176\u8981\u6c42\u7684<a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/features\/build-infrastructure\/\" target=\"_blank\" rel=\"noopener\" data-type=\"link\" data-id=\"https:\/\/www.jetbrains.com\/teamcity\/features\/build-infrastructure\/\">\u6784\u5efa\u73af\u5883<\/a>\uff0c\u65e0\u8bba\u662f\u4f7f\u7528 Docker \u5bb9\u5668\u3001\u4e91\u6784\u5efa\u4ee3\u7406\u3001\u88f8\u673a\u670d\u52a1\u5668\u8fd8\u662f\u6df7\u5408\u9009\u9879\u3002<\/p>\n<div style=\"background-color: #e2f1e1; margin-bottom: 10px; padding: 15px; margin-right: 0%; font-size: 20px; line-height: 30px; text-align: justify; min-height: 20px;\">\n<p><span style=\"font-weight: 400;\">&#x1f4a1;\u53e6\u8bf7\u53c2\u9605\uff1a<\/span><a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/features\/build-infrastructure\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">TeamCity \u7684\u6784\u5efa\u57fa\u7840\u67b6\u6784\u529f\u80fd<\/span><\/a><\/p>\n<\/div>\n<h3 class=\"wp-block-heading\">\u7ba1\u9053\u4f18\u5316<\/h3>\n<p>\u5982\u201c\u53ef\u6269\u7f29\u6027\u201d\u90e8\u5206\u6240\u8ff0\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u4f18\u5316\u6280\u672f\u5e2e\u52a9\u56e2\u961f\u66f4\u5feb\u5b8c\u6210\u6784\u5efa\u5e76\u7f29\u77ed\u53cd\u9988\u5faa\u73af\u3002<\/p>\n<p>\u4e00\u9879\u5173\u952e\u4f18\u5316\u6280\u672f\u662f<strong>\u80fd\u591f\u7f13\u5b58\u4f9d\u8d56\u9879<\/strong>\uff0c\u8fd9\u53ef\u4ee5\u907f\u514d\u6bcf\u6b21\u8fd0\u884c\u6784\u5efa\u65f6\u90fd\u4e0b\u8f7d\u548c\u5b89\u88c5\u4f9d\u8d56\u9879\uff0c\u6709\u52a9\u4e8e\u5c3d\u53ef\u80fd\u7f29\u77ed\u6784\u5efa\u65f6\u95f4\u3002 \u6b64\u5916\uff0c\u6784\u5efa\u5de5\u4ef6\u91cd\u7528\u53ef\u4ee5\u8fdb\u4e00\u6b65\u51cf\u5c11\u6784\u5efa\u65f6\u95f4\uff0c\u56e0\u4e3a\u5148\u524d\u6784\u5efa\u7684\u7ec4\u4ef6\u53ef\u4ee5\u5728\u540e\u7eed\u6784\u5efa\u4e2d\u91cd\u7528\u3002<\/p>\n<p>\u8de8\u591a\u4e2a\u6784\u5efa\u4ee3\u7406<a href=\"https:\/\/www.jetbrains.com.cn\/help\/teamcity\/parallel-tests.html\" target=\"_blank\" rel=\"noopener\">\u5e76\u884c\u5316\u6d4b\u8bd5<\/a>\u662f\u5728\u5927\u578b\u9879\u76ee\u4e2d\u4f18\u5316\u7ba1\u9053\u7684\u53e6\u4e00\u79cd\u6709\u6548\u65b9\u5f0f\u3002 \u5c06\u6d4b\u8bd5\u5206\u6563\u5230\u591a\u4e2a\u6784\u5efa\u4ee3\u7406\u4e2d\uff0c\u56e2\u961f\u53ef\u4ee5\u51cf\u5c11\u8fd0\u884c\u6240\u6709\u6d4b\u8bd5\u6240\u9700\u7684\u65f6\u95f4\uff0c\u6709\u52a9\u4e8e\u7f29\u77ed\u53cd\u9988\u5faa\u73af\u5e76\u786e\u4fdd\u66f4\u5feb\u8bc6\u522b\u548c\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\">\n<div class=\"wp-block-embed__wrapper\">\u00a0<\/div>\n<\/figure>\n<div style=\"border-radius: 5px; background-color: #e2f1e1; margin-bottom: 10px; padding: 15px; margin-right: 0%; font-size: 20px; line-height: 30px; text-align: justify; min-height: 20px;\">\n<p><span style=\"font-weight: 400;\">&#x1f4a1;\u5e76\u884c\u6d4b\u8bd5\u5f7b\u5e95\u6539\u53d8\u4e86\u6211\u4eec\u5f00\u53d1\u548c\u6d4b\u8bd5 TeamCity \u7684\u65b9\u5f0f\u3002 \u6211\u4eec\u81ea\u5df1\u7684\u96c6\u6210\u6d4b\u8bd5\u901f\u5ea6\u63d0\u9ad8\u4e86\u8d85\u8fc7 10 \u500d\uff0c\u7528\u65f6\u4ece 4 \u5c0f\u65f6\u7f29\u77ed\u5230\u5927\u7ea6 20 \u5206\u949f\u3002<\/span><\/p>\n<\/div>\n<h3 class=\"wp-block-heading\">\u5de5\u4ef6\u7ba1\u7406<\/h3>\n<p>\u751f\u6210\u548c\u4f20\u64ad\u5de5\u4ef6\u5bf9\u4e8e\u4efb\u4f55 CI\/CD \u7ba1\u9053\u90fd\u81f3\u5173\u91cd\u8981\u3002 \u5de5\u4ef6\u5141\u8bb8\u6784\u5efa\u201c\u901a\u4fe1\u201d\u5e76\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u6784\u5efa\u4f20\u9012\u5230\u53e6\u4e00\u4e2a\u6784\u5efa\u3002<\/p>\n<p>\u901a\u8fc7\u9009\u62e9\u53ef\u4ee5\u5b58\u50a8\u5de5\u4ef6\u7684\u5de5\u5177\uff0c\u60a8\u53ef\u4ee5\u5b58\u50a8\u6784\u5efa\u751f\u6210\u7684\u6570\u636e\u4ee5\u4f9b\u8fdb\u4e00\u6b65\u5206\u6790\u548c\u8c03\u8bd5\u3002<\/p>\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\">\n<div class=\"wp-block-embed__wrapper\">\u00a0<\/div>\n<\/figure>\n<h2 class=\"wp-block-heading\">\u53cd\u9988\u548c\u5206\u6790<\/h2>\n<p>CI\/CD \u7684\u4e3b\u8981\u76ee\u7684\u662f\u7f29\u77ed\u63a5\u6536\u8f6f\u4ef6\u66f4\u6539\u53cd\u9988\u6240\u9700\u7684\u65f6\u95f4\u3002 \u6700\u5b9e\u7528\u53cd\u9988\u76f4\u63a5\u4e0e\u7279\u5b9a\u4ee3\u7801\u66f4\u6539\u76f8\u5173\uff0c\u5e76\u63d0\u4f9b\u6709\u5173\u6784\u5efa\u548c\u90e8\u7f72\u72b6\u6001\u4ee5\u53ca\u6027\u80fd\u548c\u8d28\u91cf\u6307\u6807\u66f4\u6539\u7684\u4fe1\u606f\u3002<\/p>\n<p>\u8bc4\u4f30 CI\/CD \u89e3\u51b3\u65b9\u6848\u65f6\uff0c\u5fc5\u987b\u8003\u8651\u4ee5\u4e0b\u65b9\u9762\uff1a<\/p>\n<h3 class=\"wp-block-heading\">\u6784\u5efa\u7ed3\u679c\u5206\u6790<\/h3>\n<p>CI\/CD \u89e3\u51b3\u65b9\u6848\u5e94\u63d0\u4f9b\u6784\u5efa\u7ed3\u679c\u7684\u8be6\u7ec6\u5206\u6790\uff0c\u5305\u62ec\u6709\u5173\u5931\u8d25\u6d4b\u8bd5\u3001\u6784\u5efa\u65f6\u95f4\u3001\u9519\u8bef\u65e5\u5fd7\u548c\u5176\u4ed6\u5173\u952e\u6307\u6807\u7684\u4fe1\u606f\u3002 \u8fd9\u4e9b\u4fe1\u606f\u5e94\u8be5\u6613\u4e8e\u8bbf\u95ee\uff0c\u5e76\u53ef\u4ee5\u8ba9\u5f00\u53d1\u8005\u5feb\u901f\u8bc6\u522b\u548c\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u8d8b\u52bf<\/h3>\n<p>\u5de5\u5177\u9700\u8981\u63d0\u4f9b\u8d8b\u52bf\u5206\u6790\u529f\u80fd\uff0c\u4f7f\u56e2\u961f\u80fd\u591f\u8ddf\u8e2a\u6784\u5efa\u548c\u90e8\u7f72\u6027\u80fd\u968f\u65f6\u95f4\u7684\u53d8\u5316\u3002 \u8fd9\u53ef\u4ee5\u5e2e\u52a9\u56e2\u961f\u8bc6\u522b\u6a21\u5f0f\u548c\u8d8b\u52bf\uff0c\u5e76\u5728\u6f5c\u5728\u95ee\u9898\u4e25\u91cd\u5316\u4e4b\u524d\u4e3b\u52a8\u5c06\u5176\u89e3\u51b3\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u6027\u80fd\u76d1\u89c6<\/h3>\n<p>\u4e3a\u4e86\u8bc6\u522b\u74f6\u9888\u548c\u89e3\u51b3\u5f71\u54cd CI\/CD \u6d41\u7a0b\u6548\u7387\u7684\u95ee\u9898\uff0c\u9700\u8981\u5206\u6790\u6784\u5efa\u4ee3\u7406\u7684\u6027\u80fd\u5e76\u786e\u5b9a\u4e3a\u6784\u5efa\u57fa\u7840\u67b6\u6784\u63d0\u4f9b\u66f4\u591a\u8d44\u6e90\u7684\u9700\u6c42\u3002<\/p>\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-381971\" style=\"width: 840px; height: 387px;\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/08\/teamcity-performance-monitoring.png\" alt=\"\" width=\"840\" height=\"387\" \/><\/figure>\n<p><em>TeamCity \u4e2d\u7684<a href=\"https:\/\/www.jetbrains.com.cn\/help\/teamcity\/performance-monitor.html\" target=\"_blank\" rel=\"noopener\">\u6027\u80fd\u76d1\u89c6<\/a><\/em><\/p>\n<h3 class=\"wp-block-heading\">VCS \u548c\u95ee\u9898\u8ddf\u8e2a\u5668\u96c6\u6210<\/h3>\n<p>\u901a\u8fc7<a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/integrations\/version-control\/\" target=\"_blank\" rel=\"noopener\">\u96c6\u6210\u7248\u672c\u63a7\u5236\u7cfb\u7edf<\/a>\u548c\u95ee\u9898\u8ddf\u8e2a\u5668\uff0cCI\/CD \u5de5\u5177\u5f00\u8f9f\u4e86\u66f4\u591a\u63d0\u4f9b\u53cd\u9988\u7684\u9014\u5f84\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u4e0d\u7a33\u5b9a\u6d4b\u8bd5\u68c0\u6d4b<\/h3>\n<p>\u5bf9\u4e8e\u6301\u7eed\u96c6\u6210\u5de5\u5177\uff0c\u80fd\u591f\u5206\u6790\u548c\u68c0\u6d4b<a href=\"https:\/\/www.jetbrains.com.cn\/help\/teamcity\/viewing-tests-and-configuration-problems.html#Flaky+Tests\" target=\"_blank\" rel=\"noopener\">\u4e0d\u7a33\u5b9a\u6d4b\u8bd5<\/a>\u975e\u5e38\u91cd\u8981\u3002 \u4e3a\u4e86\u7f29\u77ed\u53cd\u9988\u5faa\u73af\u548c\u52a0\u5feb\u5f00\u53d1\u6d41\u7a0b\uff0c\u9700\u8981\u53ef\u4ee5\u8bc6\u522b\u4e0d\u7a33\u5b9a\u6d4b\u8bd5\u5e76\u5728\u6d4b\u8bd5\u7ed3\u679c\u4e2d\u5c06\u5176\u9ad8\u4eae\u663e\u793a\u7684\u5de5\u5177\u3002<\/p>\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-381982\" style=\"width: 840px; height: 751px;\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/08\/with-cicd-without-cicd.jpg\" alt=\"\" width=\"840\" height=\"751\" \/><\/figure>\n<h2 class=\"wp-block-heading\">\u53ef\u6269\u7f29\u6027\u548c\u7ef4\u62a4<\/h2>\n<p>\u8f6f\u4ef6\u9879\u76ee\u7684\u89c4\u6a21\u548c\u590d\u6742\u6027\u5f80\u5f80\u4f1a\u9010\u6e10\u589e\u52a0\u3002 \u53ef\u9760\u7684 CI\/CD \u7cfb\u7edf\u5fc5\u987b\u80fd\u591f\u5e94\u5bf9\u8fd9\u79cd\u589e\u957f\uff0c\u5e76\u4e0e\u7ba1\u9053\u3001\u6784\u5efa\u3001\u7528\u6237\u3001\u89d2\u8272\u548c\u5de5\u4f5c\u6d41\u6570\u91cf\u7684\u589e\u957f\u4fdd\u6301\u540c\u6b65\u3002<\/p>\n<p>\u8981\u786e\u4fdd\u56e2\u961f\u6c38\u8fdc\u4e0d\u4f1a\u53d7\u5230\u963b\u788d\uff0c\u7cfb\u7edf\u5e94\u8be5\u80fd\u591f\u6709\u6548\u7ba1\u7406\u8d44\u6e90\u5e76\u914d\u5907\u76d1\u63a7\u548c\u7ef4\u62a4\u5de5\u5177\uff0c\u5feb\u901f\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<p>\u4ee5\u4e0b\u56e0\u7d20\u5c06\u5e2e\u52a9\u60a8\u4e86\u89e3\u56e2\u961f\u6240\u9700\u7684\u53ef\u6269\u7f29\u6027\u6c34\u5e73\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u7528\u6237\u7ba1\u7406<\/h3>\n<p>\u5728\u5c0f\u578b\u9879\u76ee\u4e2d\uff0c\u5b9a\u4e49\u8c01\u53ef\u4ee5\u89e6\u53d1\u6784\u5efa\u3001\u67e5\u770b\u6784\u5efa\u7ed3\u679c\u6216\u4fee\u6539\u7ba1\u9053\u914d\u7f6e\u7684\u57fa\u672c\u89d2\u8272\u8bbf\u95ee\u89c4\u5219\u901a\u5e38\u5c31\u5df2\u8db3\u591f\u3002 \u5927\u578b\u56e2\u961f\u9700\u8981\u66f4\u9ad8\u7ea7\u7684\u529f\u80fd\uff0c\u4f8b\u5982 LDAP \u96c6\u6210\u6216\u5355\u70b9\u767b\u5f55 (SSO) \u652f\u6301\u3001\u53cc\u91cd\u8eab\u4efd\u9a8c\u8bc1\u3001\u9879\u76ee\u5c42\u6b21\u7ed3\u6784\u3001\u7cbe\u7ec6\u6743\u9650\u7ba1\u7406\u3001\u5ba1\u6279\u5de5\u4f5c\u6d41\u548c\u5ba1\u6838\u3002<\/p>\n<div style=\"border-radius: 5px; background-color: #e2f1e1; margin-bottom: 10px; padding: 15px; margin-right: 0%; font-size: 20px; line-height: 30px; text-align: justify; min-height: 20px;\">\n<p><span style=\"font-weight: 400;\">&#x1f4a1;\u53e6\u8bf7\u53c2\u9605\uff1a<\/span><a href=\"https:\/\/www.jetbrains.com.cn\/teamcity\/features\/user-management\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">TeamCity \u7684\u7528\u6237\u7ba1\u7406\u529f\u80fd<\/span><\/a><\/p>\n<\/div>\n<h3 class=\"wp-block-heading\">\u7ba1\u9053\u4f18\u5316<\/h3>\n<p>\u968f\u7740\u63d0\u4ea4\u9891\u7387\u548c\u5de5\u4f5c\u6d41\u590d\u6742\u6027\u7684\u589e\u52a0\uff0c\u6709\u6548\u5229\u7528 CI\/CD \u8d44\u6e90\u4e5f\u5c06\u8d8a\u53d1\u91cd\u8981\u3002 \u8fd9\u53ef\u4ee5\u901a\u8fc7\u91cd\u7528\u6784\u5efa\u5de5\u4ef6\u3001\u6700\u5927\u7a0b\u5ea6\u51cf\u5c11\u591a\u4f59\u91cd\u5efa\u6570\u91cf\u3001\u91cd\u65b0\u6392\u5217\u6784\u5efa\u961f\u5217\u3001\u5e76\u884c\u5316\u6d4b\u8bd5\u4ee5\u53ca\u5176\u4ed6\u7c7b\u4f3c\u529f\u80fd\u6765\u5b8c\u6210\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u9879\u76ee\u6a21\u677f<\/h3>\n<p>\u7ec4\u7ec7\u89c4\u6a21\u8d8a\u5927\uff0c\u9879\u76ee\u6a21\u677f\u7684\u4f18\u52bf\u5c31\u8d8a\u660e\u663e\u3002 \u901a\u8fc7\u6807\u51c6\u5316\u5178\u578b\u5de5\u4f5c\u6d41\uff0c\u60a8\u53ef\u4ee5\u663e\u8457\u51cf\u5c11\u521b\u5efa\u548c\u7ef4\u62a4\u7ba1\u9053\u6240\u9700\u7684\u5de5\u4f5c\u91cf\u3001\u6539\u5584\u56e2\u961f\u4e4b\u95f4\u7684\u534f\u4f5c\u3001\u9632\u6b62\u9519\u8bef\u914d\u7f6e\u5e76\u63d0\u9ad8 CI\/CD \u7ba1\u9053\u7684\u5b89\u5168\u6027\u3002<\/p>\n<div style=\"border-radius: 5px; background-color: #e2f1e1; margin-bottom: 40px; padding: 15px; margin-right: 0%; font-size: 20px; line-height: 30px; text-align: justify; min-height: 170px;\">\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignleft wp-image-185391\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/08\/gearbox-logo-for-blog.png\" alt=\"\" width=\"150\" height=\"150\" \/><span style=\"font-weight: 400;\">\u5728\u672c\u6848\u4f8b\u7814\u7a76\u4e2d\uff0c\u8457\u540d\u6e38\u620f\u5f00\u53d1\u516c\u53f8 Gearbox \u5206\u4eab\u4e86\u4ed6\u4eec\u5982\u4f55\u501f\u52a9 TeamCity \u7684\u53ef\u91cd\u7528\u9879\u76ee\u6a21\u677f\u7b80\u5316 CI\/CD \u6d41\u7a0b\u5e76\u6807\u51c6\u5316 CI\/CD \u505a\u6cd5\u3002<\/span><\/p>\n<p><a href=\"https:\/\/www.jetbrains.com.cn\/company\/customers\/experience\/gearbox\/\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u5b8c\u6574\u6848\u4f8b\u7814\u7a76<\/a><\/p>\n<\/div>\n<h3 class=\"wp-block-heading\">\u6027\u80fd\u548c\u5bb9\u9519<\/h3>\n<p>\u968f\u7740\u9879\u76ee\u6570\u91cf\u548c\u8ba1\u7b97\u8d44\u6e90\u9700\u6c42\u7684\u589e\u957f\uff0c\u6269\u5c55\u6784\u5efa\u57fa\u7840\u67b6\u6784\u548c\u964d\u4f4e\u6f5c\u5728\u505c\u673a\u98ce\u9669\u4e5f\u66f4\u5177\u6311\u6218\u6027\u3002<\/p>\n<p>\u5927\u578b\u516c\u53f8\u7684\u5178\u578b\u9700\u6c42\u5305\u62ec\u81ea\u52a8\u914d\u7f6e\u6784\u5efa\u4ee3\u7406\uff08\u4f8b\u5982\u901a\u8fc7\u4e0e\u4e91\u5e73\u53f0\u96c6\u6210\uff09\u4ee5\u53ca\u5728\u6c60\u4e2d\u7ec4\u7ec7\u6784\u5efa\u4ee3\u7406\u4ee5\u65b9\u4fbf\u7ba1\u7406\u7684\u529f\u80fd\u3002<\/p>\n<p>\u4f01\u4e1a\u7ea7\u89e3\u51b3\u65b9\u6848\u975e\u5e38\u6ce8\u91cd\u9ad8\u53ef\u7528\u6027\u529f\u80fd\uff0c\u4f8b\u5982\u5728\u96c6\u7fa4\u73af\u5883\u4e2d\u8fd0\u884c\u591a\u4e2a\u5e94\u7528\u7a0b\u5e8f\u670d\u52a1\u5668\u4ee5\u53ca\u667a\u80fd\u8d1f\u8f7d\u5747\u8861\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u7ef4\u62a4\u548c\u5347\u7ea7<\/h3>\n<p>\u8981\u8bc6\u522b\u548c\u89e3\u51b3 CI\/CD \u8bbe\u7f6e\u4e2d\u7684\u95ee\u9898\uff0c\u7ba1\u7406\u5458\u5e94\u8be5\u62e5\u6709\u76d1\u63a7\u548c\u65e5\u5fd7\u8bb0\u5f55\u5de5\u5177\uff0c\u5e76\u4e14\u80fd\u591f\u6839\u636e\u9700\u8981\u589e\u52a0\u8d44\u6e90\u3001\u5b9e\u73b0\u7f13\u5b58\u673a\u5236\u6216\u66f4\u65b0\u5de5\u4ef6\u4fdd\u7559\u653f\u7b56\u3002<\/p>\n<p>\u89e3\u51b3\u65b9\u6848\u5347\u7ea7\u9700\u8981\u7279\u522b\u6ce8\u610f\u3002 \u90e8\u5206\u5de5\u5177\u975e\u5e38\u4f9d\u8d56\u5916\u90e8\u63d2\u4ef6\uff0c\u4ee5\u81f3\u4e8e\u96be\u4ee5\u751a\u81f3\u65e0\u6cd5\u5728\u4e0d\u7834\u574f\u73b0\u6709\u529f\u80fd\u7684\u60c5\u51b5\u4e0b\u5347\u7ea7\u3002<\/p>\n<p>\u5bf9\u4e8e\u590d\u6742\u6027\u6709\u9650\u7684\u5c0f\u578b\u56e2\u961f\u548c\u9879\u76ee\u6765\u8bf4\uff0c\u53ef\u6269\u7f29\u7684 CI\/CD \u89e3\u51b3\u65b9\u6848\u53ef\u80fd\u5e76\u4e0d\u91cd\u8981\u3002 \u7136\u800c\uff0c\u968f\u7740\u56e2\u961f\u89c4\u6a21\u548c\u9879\u76ee\u590d\u6742\u6027\u7684\u589e\u52a0\uff0c\u8fd9\u5c06\u6210\u4e3a\u8f6f\u4ef6\u5f00\u53d1\u6d41\u7a0b\u4e2d\u6700\u5173\u952e\u7684\u65b9\u9762\u4e4b\u4e00\u3002<\/p>\n<h3 class=\"wp-block-heading\">TeamCity \u5982\u4f55\u652f\u6301\u53ef\u6269\u7f29\u6027<\/h3>\n<p>TeamCity \u53ef\u4ee5\u652f\u6301\u4efb\u4f55\u89c4\u6a21\u7684\u9879\u76ee\uff0c\u5305\u62ec\u5177\u6709\u5927\u91cf\u4f9d\u8d56\u9879\u7684\u9879\u76ee\u3002 \u5b83\u53ef\u4ee5\u5728\u9ad8\u8d1f\u8f7d\u671f\u95f4\u81ea\u52a8\u6269\u7f29\u3002 TeamCity Server \u7684\u4e00\u4e2a\u5b9e\u4f8b\u53ef\u4ee5\u4e0e\u8d85\u8fc7 1,000 \u4e2a\u6784\u5efa\u4ee3\u7406\u7a33\u5b9a\u914d\u5408\u3002<\/p>\n<div style=\"border-radius: 5px; background-color: #e2f1e1; margin-bottom: 10px; padding: 15px; margin-right: 0%; font-size: 20px; line-height: 30px; text-align: justify; min-height: 20px;\">\n<p><span style=\"font-weight: 400;\">&#x1f4a1;\u53e6\u8bf7\u53c2\u9605\uff1a<\/span><a href=\"https:\/\/blog.jetbrains.com\/teamcity\/2023\/04\/solving-build-server-scalability-issues\/\"><span style=\"font-weight: 400;\">\u89e3\u51b3\u6784\u5efa\u670d\u52a1\u5668\u53ef\u6269\u7f29\u6027\u95ee\u9898<\/span><\/a><\/p>\n<\/div>\n<h2 class=\"wp-block-heading\">\u5b89\u5168\u529f\u80fd<\/h2>\n<p>\u5b89\u5168\u6027\u662f\u6240\u6709\u8f6f\u4ef6\u5f00\u53d1\u6d41\u7a0b\u7684\u4e3b\u8981\u8003\u8651\u56e0\u7d20\uff0c\u5bf9\u4e8e CI\/CD \u5c24\u5176\u91cd\u8981\uff0c\u56e0\u4e3a CI\/CD \u5de5\u5177\u62e5\u6709\u5bf9\u654f\u611f\u6570\u636e\u548c\u7cfb\u7edf\u7684\u53d7\u4fe1\u8bbf\u95ee\u3002<\/p>\n<p>\u8bc4\u4f30\u89e3\u51b3\u65b9\u6848\u65f6\uff0c\u5e94\u4ece\u4e24\u4e2a\u4e3b\u8981\u89d2\u5ea6\u5206\u6790\u5b89\u5168\u529f\u80fd\uff1a<\/p>\n<ol>\n<li><strong>\u670d\u52a1\u7684\u5b89\u5168\u6027\u3002 <\/strong>\u7531\u4e8e\u6bcf\u5929\u90fd\u4f1a\u51fa\u73b0\u65b0\u7684\u5a01\u80c1\u548c\u6f0f\u6d1e\uff0c\u89e3\u51b3\u65b9\u6848\u5fc5\u987b\u786e\u4fdd\u6f5c\u5728\u653b\u51fb\u8005\u65e0\u6cd5\u8bbf\u95ee\u60a8\u7684\u6e90\u4ee3\u7801\u3001\u79d8\u5bc6\u5bc6\u94a5\u3001\u6784\u5efa\u57fa\u7840\u67b6\u6784\u6216\u6784\u5efa\u7ed3\u679c\u3002<\/li>\n<li><strong>\u6700\u7ec8\u4ea7\u54c1\u7684\u5b89\u5168\u6027\u3002<\/strong>\u8bb8\u591a CI\/CD \u5de5\u5177\u53ef\u5c06\u5b89\u5168\u68c0\u67e5\u96c6\u6210\u5230\u6784\u5efa\u7ba1\u9053\uff0c\u786e\u4fdd\u751f\u6210\u7684\u8f6f\u4ef6\u4e0d\u5b58\u5728\u53ef\u88ab\u5229\u7528\u7684\u6f0f\u6d1e\u3002<\/li>\n<\/ol>\n<p>\u90e8\u5206\u56e2\u961f\u503e\u5411\u4e8e\u4f18\u5148\u8003\u8651\u901f\u5ea6\u548c\u6548\u7387\u800c\u4e0d\u662f\u5b89\u5168\u6027\uff0c\u5ffd\u89c6\u5b89\u5168\u6027\u6700\u4f73\u505a\u6cd5\u3002 \u96c6\u6210\u5f0f\u5e73\u53f0\u901a\u5e38\u4f1a\u63d0\u4f9b\u66f4\u7b80\u5355\u7684\u65b9\u5f0f\u6765\u4fdd\u62a4 CI\/CD\uff0c\u4ee3\u4ef7\u662f\u5c06\u60a8\u201c\u4f9b\u5e94\u5546\u9501\u5b9a\u201d\u5230\u5176\u751f\u6001\u7cfb\u7edf\u548c\u5de5\u4f5c\u6d41\u3002<\/p>\n<div style=\"border-radius: 5px; background-color: #e2f1e1; margin-bottom: 10px; padding: 15px; margin-right: 0%; font-size: 20px; line-height: 30px; text-align: justify; min-height: 20px;\">\n<p><span style=\"font-weight: 400;\">&#x1f4a1;\u67e5\u9605\u6211\u4eec\u7684\u767d\u76ae\u4e66\u201c<\/span><a href=\"https:\/\/www.jetbrains.com\/lp\/teamcity-cicd-security-whitepaper\/\" target=\"_blank\" rel=\"noopener\" data-wplink-edit=\"true\"><span style=\"font-weight: 400;\">\u9632\u6b62\u60a8\u7684 CI\/CD \u670d\u52a1\u5668\u906d\u53d7\u4f9b\u5e94\u94fe\u653b\u51fb\u7684 9 \u79cd\u65b9\u5f0f<\/span><\/a>\u201d\uff0c\u83b7\u53d6\u66f4\u591a\u5b89\u5168\u63d0\u793a\u3002<\/p>\n<\/div>\n<h2 class=\"wp-block-heading\">\u6210\u672c\u6548\u76ca<\/h2>\n<p>\u968f\u7740\u7ba1\u9053\u8d8a\u53d1\u590d\u6742\uff0c\u56e2\u961f\u89c4\u6a21\u4e0d\u65ad\u6269\u5927\uff0c\u4e0e\u5176\u4ed6\u53ef\u80fd\u5f71\u54cd CI\/CD \u7cfb\u7edf\u6709\u6548\u6027\u7684\u56e0\u7d20\u76f8\u6bd4\uff0c\u8bb8\u53ef\u8bc1\u6216\u8ba2\u9605\u7684\u4ef7\u683c\u53ef\u80fd\u53d8\u5f97\u4e0d\u90a3\u4e48\u91cd\u8981\uff1a<\/p>\n<ul>\n<li>\u636e\u7edf\u8ba1\uff0c\u901a\u8fc7\u91cd\u65b0\u6392\u5217\u6784\u5efa\u961f\u5217\u548c\u5c3d\u53ef\u80fd\u51cf\u5c11\u5197\u4f59\u6784\u5efa\uff0c\u56e2\u961f\u53ef\u4ee5\u8282\u7701\u81f3\u5c11 30% \u7684\u6784\u5efa\u65f6\u95f4\u548c\u76f8\u5173\u6210\u672c\u3002<\/li>\n<\/ul>\n<ul>\n<li>CI\/CD \u5f00\u7bb1\u5373\u652f\u6301\u7684\u5de5\u5177\u548c\u670d\u52a1\u8d8a\u591a\uff0c\u7f16\u5199\u548c\u7ef4\u62a4\u81ea\u5b9a\u4e49\u811a\u672c\u548c\u5916\u90e8\u96c6\u6210\u7684\u51e0\u7387\u5c31\u8d8a\u4f4e\u3002 \u8fd9\u4f1a\u6781\u5927\u5730\u5f71\u54cd\u7ef4\u62a4\u6210\u672c\u3002<\/li>\n<li>\u6b64\u5916\uff0c\u5927\u591a\u6570\u56e2\u961f\u90fd\u6709\u9ad8\u5cf0\u671f\uff08\u901a\u5e38\u5728\u53d1\u5e03\u671f\u95f4\uff09\uff0c\u5728\u6b64\u671f\u95f4\u6301\u7eed\u96c6\u6210\u5de5\u5177\u7684\u4efb\u4f55\u6545\u969c\u90fd\u4f1a\u4e25\u91cd\u5f71\u54cd\u516c\u53f8\u4e1a\u52a1\u3002 \u5982\u679c\u6ca1\u6709\u7279\u5b9a CI\/CD \u89e3\u51b3\u65b9\u6848\u7684\u5b9e\u9645\u7ecf\u9a8c\uff0c\u8fd9\u662f\u5f88\u96be\u8bc4\u4f30\u7684\u6311\u6218\u4e4b\u4e00\u3002 \u4f46\u662f\uff0c\u901a\u8fc7\u9605\u8bfb\u5176\u4ed6\u56e2\u961f\u5173\u4e8e\u7c7b\u4f3c\u4efb\u52a1\u7684\u8bc4\u4ef7\u548c\u53cd\u9988\uff0c\u4ecd\u6709\u53ef\u80fd\u4e86\u89e3\u5b83\u5982\u4f55\u5904\u7406\u6b64\u7c7b\u95ee\u9898\u3002<\/li>\n<\/ul>\n<p>\u6700\u7ec8\uff0cCI\/CD \u89e3\u51b3\u65b9\u6848\u7684\u603b\u62e5\u6709\u6210\u672c\u53d6\u51b3\u4e8e\u56e2\u961f\u7684\u5177\u4f53\u9700\u6c42\u3002 \u4e00\u822c\u6765\u8bf4\uff0c\u5e94\u8c28\u614e\u8003\u8651\u4ee5\u4e0b\u56e0\u7d20\uff1a<\/p>\n<h3 class=\"wp-block-heading\">\u96c6\u6210\u6210\u672c<\/h3>\n<p>\u5c06 CI\/CD \u4e0e\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u3001\u95ee\u9898\u8ddf\u8e2a\u5668\u3001\u6784\u5efa\u548c\u6d4b\u8bd5\u6846\u67b6\u3001\u90e8\u7f72\u81ea\u52a8\u5316\u7cfb\u7edf\u4ee5\u53ca\u5176\u4ed6\u5de5\u5177\u96c6\u6210\u53ef\u80fd\u975e\u5e38\u8017\u65f6\u548c\u6602\u8d35\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u7ef4\u62a4\u6210\u672c<\/h3>\n<p>\u6bcf\u4e2a CI\/CD \u89e3\u51b3\u65b9\u6848\u90fd\u9700\u8981\u5206\u914d\u8d44\u6e90\u6765\u8fd0\u884c\u5b9a\u671f\u5b89\u5168\u5ba1\u6838\u3001\u66f4\u65b0\u5e95\u5c42\u57fa\u7840\u67b6\u6784\uff0c\u4ee5\u53ca\u8bca\u65ad\u548c\u6d88\u9664\u74f6\u9888\u3002 \u5728\u8bb8\u591a\u516c\u53f8\u4e2d\uff0c\u652f\u6301\u8fd9\u4e9b\u6d41\u7a0b\u9700\u8981\u6574\u4e2a\u56e2\u961f\u3002<\/p>\n<h3 class=\"wp-block-heading\">CI\/CD \u6548\u7387<\/h3>\n<p>\u5982\u679c\u6784\u5efa\u59cb\u7ec8\u5904\u4e8e\u961f\u5217\u4e2d\u5e76\u4e14\u65e0\u6cd5\u83b7\u5f97\u5feb\u901f\u53cd\u9988\uff0c\u8fd9\u5c31\u8fdd\u80cc\u4e86 CI\/CD \u89e3\u51b3\u65b9\u6848\u7684\u521d\u8877\u3002 \u4e91\u7aef\u52a8\u6001\u6269\u7f29\u3001\u6784\u5efa\u7684\u91cd\u7528\u548c\u6d4b\u8bd5\u5e76\u884c\u5316\u7b49\u529f\u80fd\u4f1a\u663e\u8457\u5f71\u54cd\u5927\u516c\u53f8\u7684\u5f00\u53d1\u8005\u6548\u7387\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u53cd\u9988<\/h3>\n<p>\u8981\u5b9e\u73b0\u9ad8\u6548\u7684\u8f6f\u4ef6\u5f00\u53d1\uff0c\u53ca\u65f6\u4e14\u5b9e\u7528\u7684\u53cd\u9988\u5faa\u73af\u5fc5\u4e0d\u53ef\u5c11\u3002 \u6784\u5efa\u5931\u8d25\u65f6\uff0c\u5f00\u53d1\u8005\u5e94\u8be5\u5feb\u901f\u627e\u51fa\u95ee\u9898\u7684\u6839\u672c\u539f\u56e0\u4ee5\u53ca\u89e3\u51b3\u95ee\u9898\u7684\u660e\u786e\u8def\u5f84\u3002 \u901a\u5e38\uff0c\u4ece\u6536\u5230\u6784\u5efa\u5931\u8d25\u901a\u77e5\u5230\u5b8c\u5168\u7406\u89e3\u9700\u8981\u4fee\u6b63\u7684\u5185\u5bb9\u4e4b\u95f4\u5b58\u5728\u4e00\u6bb5\u660e\u663e\u7684\u65f6\u95f4\uff0c\u8fd9\u5c31\u662f\u53ef\u9760\u7684\u5de5\u5177\u53ef\u4ee5\u63d0\u4f9b\u5de8\u5927\u4ef7\u503c\u7684\u5730\u65b9\u3002<\/p>\n<p>\u901a\u8fc7\u5206\u6790\u6784\u5efa\u65e5\u5fd7\u5e76\u63d0\u4f9b\u6709\u5173\u95ee\u9898\u7684\u7cbe\u786e\u4fe1\u606f\uff0c\u6700\u597d\u7684 CI\/CD \u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u6709\u6548\u5730\u89e3\u51b3\u95ee\u9898\uff0c\u52a0\u5feb\u53cd\u9988\u5faa\u73af\u5e76\u63d0\u9ad8\u6574\u4f53\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n<p>\u964d\u4f4e TeamCity \u62e5\u6709\u6210\u672c\u7684\u56e0\u7d20\uff1a<\/p>\n<ul>\n<li>\u8bb8\u53ef\u6210\u672c<\/li>\n<li>\u57fa\u7840\u67b6\u6784\u6210\u672c<\/li>\n<li>\u96c6\u6210\u6210\u672c<\/li>\n<li>\u7ef4\u62a4\u6210\u672c<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\">\u6613\u7528\u6027\u548c\u652f\u6301<\/h2>\n<p>\u5bf9\u4e8e CI\/CD \u89e3\u51b3\u65b9\u6848\u4f9b\u5e94\u5546\u6765\u8bf4\uff0c\u5728\u529f\u80fd\u548c\u7528\u6237\u4f53\u9a8c\u4e4b\u95f4\u627e\u5230\u6700\u4f73\u5e73\u8861\u662f\u4e00\u5927\u6301\u7eed\u6311\u6218\u3002 \u4e3a\u56e2\u961f\u8bc4\u4f30\u8f6f\u4ef6\u6613\u7528\u6027\u65f6\uff0c\u5e94\u8be5\u8003\u8651\u4ee5\u4e0b\u56e0\u7d20\uff1a<\/p>\n<h3 class=\"wp-block-heading\">UI \u4e00\u81f4\u6027<\/h3>\n<p>\u968f\u7740\u9879\u76ee\u89c4\u6a21\u7684\u589e\u5927\uff0cCI\/CD \u5728\u4e0d\u589e\u52a0\u591a\u4f59\u590d\u6742\u6027\u7684\u60c5\u51b5\u4e0b\u63d0\u4f9b\u5fc5\u8981\u529f\u80fd\u53d8\u5f97\u8d8a\u6765\u8d8a\u91cd\u8981\u3002 \u8bc4\u4f30\u89e3\u51b3\u65b9\u6848\u65f6\uff0c\u8981\u786e\u4fdd\u6700\u5173\u952e\u7684\u529f\u80fd\u7531\u4f9b\u5e94\u5546\u63d0\u4f9b\uff0c\u800c\u4e0d\u662f\u7531\u793e\u533a\u5f00\u53d1\u3002<\/p>\n<div style=\"border-radius: 5px; background-color: #e2f1e1; margin-bottom: 40px; padding: 15px; margin-right: 0%; font-size: 20px; line-height: 30px; text-align: justify; min-height: 170px;\">\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignleft wp-image-185391\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/08\/steve-fortier.png\" alt=\"\" width=\"103\" height=\"103\" \/><span style=\"font-weight: 400;\">\u201c\u4e00\u4e2a\u7ade\u54c1\u7684 UI \u975e\u5e38\u4e0d\u53cb\u597d\u3002 \u5728 CI\/CD \u7cfb\u7edf\u91cc\uff0c\u6211\u5e94\u8be5\u611f\u89c9\u5f88\u8e0f\u5b9e\uff0c\u505a\u4ec0\u4e48\u90fd\u4e0d\u4f1a\u574f\u3002 \u6211\u8ba4\u4e3a TeamCity \u7684 UI \u975e\u5e38\u51fa\u8272\u3002 \u6d4f\u89c8\u7684\u65f6\u5019\uff0c\u4f60\u4f1a\u76f8\u4fe1\u7cfb\u7edf\u8fd0\u4f5c\u826f\u597d\u3002\u201d<br \/>\u2013 <em>Steve Fortier\uff0cGearbox \u9996\u5e2d\u53d1\u5e03\u5de5\u7a0b\u5e08<\/em><\/span><\/p>\n<p><a href=\"https:\/\/www.jetbrains.com\/company\/customers\/experience\/gearbox\/\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u5b8c\u6574\u6848\u4f8b\u7814\u7a76<\/a><\/p>\n<\/div>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>\u5916\u90e8\u63d2\u4ef6\u901a\u5e38\u4f1a\u5bfc\u81f4\u5bfc\u822a\u95ee\u9898\u3001\u754c\u9762\u54cd\u5e94\u4e0d\u4f73\u3001\u672f\u8bed\u548c\u56fe\u6807\u51b2\u7a81\u3001\u5c4f\u5e55\u5c3a\u5bf8\u548c\u8bbe\u5907\u4e0d\u5339\u914d\uff0c\u4ee5\u53ca\u7f3a\u5c11\u5408\u9002\u7684\u6587\u6863\u3002 \u65e0\u8bba\u56e2\u961f\u7ecf\u9a8c\u5982\u4f55\uff0c\u4e0d\u4e00\u81f4\u7684\u7528\u6237\u754c\u9762\u90fd\u4f1a\u5bfc\u81f4\u751f\u4ea7\u529b\u4e0b\u964d\u3002<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:heading {\"level\":3} --><\/p>\n<h3 class=\"wp-block-heading\">\u65e0\u969c\u788d\u529f\u80fd<\/h3>\n<p><!-- \/wp:heading --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>\u5982\u679c CI\/CD \u7cfb\u7edf\u652f\u6301\u65e0\u969c\u788d\u529f\u80fd\uff0c\u4f8b\u5982\u5c4f\u5e55\u9605\u8bfb\u5668\u517c\u5bb9\u3001\u952e\u76d8\u5bfc\u822a\u548c\u9ad8\u5bf9\u6bd4\u5ea6\u6a21\u5f0f\uff0c\u901a\u5e38\u53ef\u4ee5\u8868\u660e\u5176\u603b\u4f53\u4f53\u9a8c\u826f\u597d\u3002<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:heading {\"level\":3} --><\/p>\n<h3 class=\"wp-block-heading\">\u6587\u6863\u548c\u652f\u6301<\/h3>\n<p><!-- \/wp:heading --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>\u5168\u9762\u7684\u6587\u6863\u3001\u6559\u7a0b\u3001\u89c6\u9891\u548c\u70ed\u5fc3\u7684\u793e\u533a\u5bf9\u4e8e\u6709\u6548\u4f7f\u7528 CI\/CD \u5de5\u5177\u81f3\u5173\u91cd\u8981\u3002 \u6839\u636e\u7ecf\u9a8c\uff0c\u89e3\u51b3\u65b9\u6848\u5728\u5e02\u573a\u4e0a\u63a8\u51fa\u7684\u65f6\u95f4\u8d8a\u957f\uff0c\u60a8\u80fd\u591f\u89e3\u51b3\u95ee\u9898\u5e76\u83b7\u5f97\u7b54\u6848\u7684\u51e0\u7387\u5c31\u8d8a\u9ad8\u3002<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:heading {\"level\":3} --><\/p>\n<h3 class=\"wp-block-heading\">API<\/h3>\n<p><!-- \/wp:heading --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>\u6839\u636e\u56e2\u961f\u7684\u5177\u4f53\u9700\u6c42\u548c\u5f85\u5b9e\u73b0\u7684\u5de5\u4f5c\u6d41\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u5c06 CI\/CD \u4e0e\u5916\u90e8\u5de5\u5177\u96c6\u6210\u3002 \u8fd9\u79cd\u4f53\u9a8c\u53ef\u80fd\u4f1a\u6709\u5f88\u5927\u5dee\u5f02\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e API \u7684\u6210\u719f\u5ea6\u3001\u6587\u6863\u7684\u53ef\u7528\u6027\u548c\u8d28\u91cf\uff0c\u4ee5\u53ca\u8f6f\u4ef6\u7248\u672c\u4e4b\u95f4\u66f4\u6539\u7684\u901f\u5ea6\u3002<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>\u76f4\u89c2\u7684\u7528\u6237\u754c\u9762\u5728 CI\/CD \u89e3\u51b3\u65b9\u6848\u4e2d\u81f3\u5173\u91cd\u8981\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u8f7b\u677e\u5feb\u901f\u5730\u7406\u89e3\u548c\u4f7f\u7528\u89e3\u51b3\u65b9\u6848\uff0c\u5373\u4f7f\u6d41\u7a0b\u8f83\u4e3a\u590d\u6742\u3002<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:image {\"id\":382018,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} --><\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-382018\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/08\/teamcity-ui.png\" alt=\"\" width=\"1999\" height=\"849\" \/><\/figure>\n<p><!-- \/wp:image --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p><em>TeamCity UI \u793a\u4f8b<\/em><\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:heading --><\/p>\n<h2 class=\"wp-block-heading\">\u6258\u7ba1\u6a21\u578b<\/h2>\n<p><!-- \/wp:heading --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>CI\/CD \u89e3\u51b3\u65b9\u6848\u5927\u81f4\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1a\u4e91\u548c\u672c\u5730\u90e8\u7f72\u3002<\/p>\n<p><a href=\"https:\/\/www.jetbrains.com\/teamcity\/cloud\/\" target=\"_blank\" rel=\"noopener\">\u4e91\u9009\u9879<\/a>\u51cf\u8f7b\u4e86\u56e2\u961f\u7ef4\u62a4\u548c\u6269\u7f29 CI\/CD \u6d41\u7a0b\u7684\u8d1f\u62c5\uff0c\u5e76\u5141\u8bb8<a href=\"https:\/\/www.jetbrains.com\/teamcity\/ci-cd-guide\/cloud-ci-cd-pipeline\/\" target=\"_blank\" rel=\"noopener\">\u5728\u4e91\u4e2d\u6784\u5efa\u7ba1\u9053<\/a>\u3002<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>\u672c\u5730\u90e8\u7f72\u89e3\u51b3\u65b9\u6848\u5219\u80fd\u8ba9\u60a8\u5728\u9632\u706b\u5899\u7684\u5b89\u5168\u4fdd\u62a4\u4e0b\u6258\u7ba1 CI\/CD\uff0c\u9075\u5faa\u6700\u4e25\u683c\u7684\u5b89\u5168\u6cd5\u89c4\u548c\u8981\u6c42\u3002<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:heading --><\/p>\n<h2 class=\"wp-block-heading\">\u603b\u7ed3<\/h2>\n<p><!-- \/wp:heading --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>\u4e3a\u7ec4\u7ec7\u9009\u62e9 CI\/CD \u5de5\u5177\u65f6\u9700\u8981\u8003\u8651\u591a\u91cd\u56e0\u7d20\u3002 \u5728\u8fd9\u7bc7\u535a\u6587\u4e2d\uff0c\u6211\u4eec\u63d0\u4f9b\u4e86\u5728\u7814\u7a76\u6700\u9002\u5408\u56e2\u961f\u6216\u7ec4\u7ec7\u7684\u9009\u9879\u65f6\u53ef\u80fd\u9700\u8981\u8003\u8651\u7684\u5173\u952e\u56e0\u7d20\u3002<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>\u6b22\u8fce\u5728\u4e0b\u65b9\u8bc4\u8bba\u533a\u7559\u8a00\u6216\u5206\u4eab\u95ee\u9898\u3002 \u6211\u4eec\u5f88\u4e50\u610f\u4e3a\u60a8\u63d0\u4f9b\u89e3\u7b54\u3002<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>\u6784\u5efa\u5feb\u4e50\uff01&#x1f3d7;&#xfe0f;<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>\u672c\u535a\u6587\u82f1\u6587\u539f\u4f5c\u8005\uff1a<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:acf\/author-block {\"name\":\"acf\/author-block\",\"data\":{\"author\":1370,\"_author\":\"field_60c2fd41dc714\"},\"align\":\"full\",\"mode\":\"auto\"} \/--><\/p>\n<p><!-- wp:acf\/author-block {\"name\":\"acf\/author-block\",\"data\":{\"author\":1370,\"_author\":\"field_60c2fd41dc714\"},\"align\":\"full\",\"mode\":\"auto\"} \/--><\/p>\n\n<!-- wp:acf\/author-block {\"name\":\"acf\/author-block\",\"data\":{\"author\":1370,\"_author\":\"field_60c2fd41dc714\"},\"align\":\"full\",\"mode\":\"auto\"} \/-->","protected":false},"author":1297,"featured_media":381917,"comment_status":"closed","ping_status":"closed","template":"","categories":[1401],"tags":[],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/teamcity\/395834"}],"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=395834"}],"version-history":[{"count":10,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/teamcity\/395834\/revisions"}],"predecessor-version":[{"id":403355,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/teamcity\/395834\/revisions\/403355"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/381917"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=395834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=395834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=395834"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=395834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}