{"id":90434,"date":"2026-08-05T09:25:18","date_gmt":"2026-08-05T01:25:18","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/90434.html"},"modified":"2026-08-05T09:25:18","modified_gmt":"2026-08-05T01:25:18","slug":"%e3%80%90ci-cd%c2%b7%e5%85%a5%e9%97%a8%e7%af%87%e3%80%91%e5%b7%a5%e5%85%b7%e9%93%be%e5%85%a8%e6%99%af%ef%bc%9ajenkins%e3%80%81gitlab-ci%e3%80%81github-actions%e3%80%81drone-%e5%af%b9%e6%af%94%e9%80%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/90434.html","title":{"rendered":"\u3010CI\/CD\u00b7\u5165\u95e8\u7bc7\u3011\u5de5\u5177\u94fe\u5168\u666f\uff1aJenkins\u3001GitLab CI\u3001GitHub Actions\u3001Drone \u5bf9\u6bd4\u9009\u578b"},"content":{"rendered":"<h3>\u524d\u8a00<\/h3>\n<p>\u4e86\u89e3\u4e86 CI\/CD \u7684\u4e09\u4e2a\u5c42\u6b21&#xff0c;\u63a5\u4e0b\u6765\u5c31\u662f\u9009\u5de5\u5177\u3002\u5e02\u9762\u4e0a\u7684 CI\/CD \u5de5\u5177\u4e0d\u4e0b\u4e8c\u5341\u79cd&#xff0c;\u4f46\u771f\u6b63\u5728\u4f01\u4e1a\u4e2d\u5e7f\u6cdb\u4f7f\u7528\u7684\u5c31\u90a3\u4e48\u51e0\u4e2a\u3002\u672c\u7bc7\u5bf9\u6bd4\u56db\u4e2a\u4e3b\u6d41\u5de5\u5177\u7684\u4f18\u52a3\u52bf&#xff0c;\u5e2e\u4f60\u5728\u642d\u5efa\u5e73\u53f0\u65f6\u505a\u51fa\u6b63\u786e\u7684\u9009\u578b\u51b3\u7b56\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u56db\u5927\u5de5\u5177\u901f\u89c8<\/h3>\n<p>| \u5de5\u5177 | \u51fa\u8eab | \u67b6\u6784 | \u6838\u5fc3\u914d\u7f6e\u65b9\u5f0f | \u90e8\u7f72\u65b9\u5f0f |<\/p>\n<p>|&#8212;&#8212;|&#8212;&#8212;|&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;|<\/p>\n<p>| Jenkins | Sun\/CloudBees | \u4e3b\u4ece\u67b6\u6784 | Jenkinsfile (Groovy DSL) | \u81ea\u6258\u7ba1 |<\/p>\n<p>| GitLab CI | GitLab | Runner \u67b6\u6784 | .gitlab-ci.yml (YAML) | \u81ea\u6258\u7ba1\/SaaS |<\/p>\n<p>| GitHub Actions | Microsoft\/GitHub | Runner \u67b6\u6784 | YAML | SaaS\/\u81ea\u6258\u7ba1 Runner |<\/p>\n<p>| Drone | Drone.io | Server&#043;Agent | .drone.yml (YAML) | \u81ea\u6258\u7ba1\/SaaS |<\/p>\n<hr \/>\n<h3>\u4e8c\u3001Jenkins&#xff1a;\u8001\u724c\u5168\u80fd\u9009\u624b<\/h3>\n<h4>\u67b6\u6784<\/h4>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502          Jenkins Master           \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u2502<br \/>\n\u2502  \u2502 Web UI  \u2502  \u2502 Job Scheduler  \u2502  \u2502<br \/>\n\u2502  \u2502 (\u7ba1\u7406)   \u2502  \u2502 (\u4efb\u52a1\u8c03\u5ea6)      \u2502  \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518  \u2502<br \/>\n\u2502               \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u2502<br \/>\n\u2502               \u2502  Plugin System \u2502  \u2502<br \/>\n\u2502               \u2502  (\u63d2\u4ef6\u751f\u6001)      \u2502  \u2502<br \/>\n\u2502               \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518  \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                    \u2502 \u5206\u53d1\u4efb\u52a1<br \/>\n        \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n        \u25bc           \u25bc           \u25bc<br \/>\n   \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n   \u2502 Agent 1  \u2502 \u2502 Agent 2  \u2502 \u2502 Agent 3  \u2502<br \/>\n   \u2502 (Java)  \u2502 \u2502 (Docker) \u2502 \u2502 (K8s)   \u2502<br \/>\n   \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h4>\u4f18\u52bf<\/h4>\n<ul>\n<li>**\u63d2\u4ef6\u751f\u6001\u6700\u4e30\u5bcc**&#xff1a;1800&#043; \u63d2\u4ef6&#xff0c;\u51e0\u4e4e\u80fd\u96c6\u6210\u4e00\u5207\u5de5\u5177<\/li>\n<li>**\u7075\u6d3b\u6027\u6781\u9ad8**&#xff1a;Groovy DSL \u53ef\u4ee5\u5b9e\u73b0\u590d\u6742\u903b\u8f91<\/li>\n<li>**\u793e\u533a\u6210\u719f**&#xff1a;\u95ee\u9898\u51e0\u4e4e\u90fd\u80fd\u5728 Stack Overflow \u4e0a\u627e\u5230\u7b54\u6848<\/li>\n<li>**\u514d\u8d39\u5f00\u6e90**&#xff1a;\u65e0\u8bb8\u53ef\u8d39\u7528<\/li>\n<\/ul>\n<h4>\u52a3\u52bf<\/h4>\n<ul>\n<li>**\u7ef4\u62a4\u6210\u672c\u9ad8**&#xff1a;Jenkins \u672c\u8eab\u9700\u8981\u7ef4\u62a4&#xff0c;\u63d2\u4ef6\u5347\u7ea7\u7ecf\u5e38\u51fa\u517c\u5bb9\u6027\u95ee\u9898<\/li>\n<li>**UI \u8001\u65e7**&#xff1a;\u754c\u9762\u4f53\u9a8c\u505c\u7559\u57282010\u5e74\u4ee3<\/li>\n<li>**Groovy \u95e8\u69db**&#xff1a;Pipeline \u8bed\u6cd5\u5bf9\u975e Java \u56e2\u961f\u4e0d\u53cb\u597d<\/li>\n<li>**\u8d44\u6e90\u5360\u7528\u5927**&#xff1a;JVM \u542f\u52a8\u6162&#xff0c;\u5185\u5b58\u5360\u7528\u9ad8<\/li>\n<\/ul>\n<h4>\u6700\u5c0f\u5b89\u88c5\u793a\u4f8b<\/h4>\n<p># Docker \u65b9\u5f0f\u542f\u52a8 Jenkins<br \/>\ndocker run -d \\\\<br \/>\n  &#8211;name jenkins \\\\<br \/>\n  -p 8080:8080 \\\\<br \/>\n  -p 50000:50000 \\\\<br \/>\n  -v jenkins_home:\/var\/jenkins_home \\\\<br \/>\n  -v \/var\/run\/docker.sock:\/var\/run\/docker.sock \\\\<br \/>\n  jenkins\/jenkins:lts-jdk17<\/p>\n<p># \u83b7\u53d6\u521d\u59cb\u5bc6\u7801<br \/>\ndocker exec jenkins cat \/var\/jenkins_home\/secrets\/initialAdminPassword<\/p>\n<h4>\u9002\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u9700\u8981\u6df1\u5ea6\u5b9a\u5236\u6d41\u6c34\u7ebf\u903b\u8f91<\/li>\n<li>\u56e2\u961f\u4ee5 Java \u6280\u672f\u6808\u4e3a\u4e3b<\/li>\n<li>\u6709\u4e13\u804c DevOps \u56e2\u961f\u7ef4\u62a4 Jenkins<\/li>\n<li>\u9700\u8981\u4e0e\u5927\u91cf\u4f20\u7edf\u5de5\u5177\u96c6\u6210<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e09\u3001GitLab CI&#xff1a;\u4e00\u4f53\u5316\u7684\u6700\u4f73\u5b9e\u8df5<\/h3>\n<h4>\u67b6\u6784<\/h4>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502            GitLab \u5b9e\u4f8b                \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u2502<br \/>\n\u2502  \u2502 Git \u4ed3\u5e93  \u2502  \u2502  CI\/CD \u8c03\u5ea6\u5668     \u2502  \u2502<br \/>\n\u2502  \u2502 (\u4ee3\u7801)    \u2502  \u2502  (Pipeline \u6267\u884c)  \u2502  \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518  \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                           \u2502 \u5206\u53d1\u4efb\u52a1<br \/>\n            \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n            \u25bc              \u25bc              \u25bc<br \/>\n       \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n       \u2502 Runner 1\u2502    \u2502 Runner 2\u2502    \u2502 Runner 3\u2502<br \/>\n       \u2502 (shell) \u2502    \u2502 (docker)\u2502    \u2502 (k8s)   \u2502<br \/>\n       \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h4>\u4f18\u52bf<\/h4>\n<ul>\n<li>**\u4ee3\u7801\u4e0e CI \u4e00\u4f53\u5316**&#xff1a;\u4e0d\u9700\u8981\u5355\u72ec\u7ef4\u62a4 CI \u7cfb\u7edf<\/li>\n<li>**YAML \u914d\u7f6e**&#xff1a;\u6bd4 Groovy \u66f4\u76f4\u89c2&#xff0c;\u56e2\u961f\u4e0a\u624b\u5feb<\/li>\n<li>**\u5185\u7f6e\u529f\u80fd\u5b8c\u6574**&#xff1a;CI\/CD &#043; \u5236\u54c1\u5e93 &#043; \u5b89\u5168\u626b\u63cf &#043; \u770b\u677f\u4e00\u4f53\u5316<\/li>\n<li>**Kubernetes \u539f\u751f\u652f\u6301**&#xff1a;\u5185\u7f6e Auto DevOps<\/li>\n<\/ul>\n<h4>\u52a3\u52bf<\/h4>\n<ul>\n<li>**\u7ed1\u5b9a GitLab**&#xff1a;\u5982\u679c\u4ee3\u7801\u4e0d\u5728 GitLab \u4e0a\u5c31\u6ca1\u6cd5\u7528<\/li>\n<li>**Runner \u7ba1\u7406\u590d\u6742**&#xff1a;Runner \u6269\u7f29\u5bb9\u9700\u8981\u989d\u5916\u65b9\u6848<\/li>\n<li>**\u91cd\u578b\u5e94\u7528**&#xff1a;GitLab \u81ea\u8eab\u8d44\u6e90\u5360\u7528\u4e0d\u5c0f<\/li>\n<\/ul>\n<h4>Runner \u5b89\u88c5\u793a\u4f8b<\/h4>\n<p># \u6ce8\u518c\u4e00\u4e2a Docker \u7c7b\u578b\u7684 Runner<br \/>\ndocker run &#8211;rm -it \\\\<br \/>\n  -v \/srv\/gitlab-runner\/config:\/etc\/gitlab-runner \\\\<br \/>\n  gitlab\/gitlab-runner:latest register \\\\<br \/>\n  &#8211;url https:\/\/gitlab.com \\\\<br \/>\n  &#8211;token YOUR_REGISTRATION_TOKEN \\\\<br \/>\n  &#8211;executor docker \\\\<br \/>\n  &#8211;docker-image &#034;alpine:latest&#034; \\\\<br \/>\n  &#8211;description &#034;docker-runner&#034;<\/p>\n<h4>\u9002\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u4ee3\u7801\u6258\u7ba1\u5728 GitLab \u4e0a&#xff08;\u81ea\u5efa\u6216 SaaS&#xff09;<\/li>\n<li>\u5e0c\u671b CI\/CD \u4e0e\u4ee3\u7801\u4ed3\u5e93\u6df1\u5ea6\u4e00\u4f53\u5316<\/li>\n<li>\u56e2\u961f\u6280\u672f\u6808\u591a\u6837&#xff0c;\u4e0d\u53ea\u6709 Java<\/li>\n<li>\u4e2d\u5927\u578b\u56e2\u961f&#xff0c;\u9700\u8981\u6743\u9650\u7ba1\u7406\u548c\u591a\u73af\u5883\u9694\u79bb<\/li>\n<\/ul>\n<hr \/>\n<h3>\u56db\u3001GitHub Actions&#xff1a;\u4e91\u539f\u751f\u7684\u540e\u8d77\u4e4b\u79c0<\/h3>\n<h4>\u67b6\u6784<\/h4>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502       GitHub \u5e73\u53f0             \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u2502<br \/>\n\u2502  \u2502 Git \u4ed3\u5e93  \u2502 \u2502 Actions   \u2502  \u2502<br \/>\n\u2502  \u2502          \u2502 \u2502 Workflow  \u2502  \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2502 Engine    \u2502  \u2502<br \/>\n\u2502               \u2514\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2518  \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                      \u2502<br \/>\n         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n         \u25bc            \u25bc            \u25bc<br \/>\n    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n    \u2502 GitHub   \u2502 \u2502 GitHub   \u2502 \u2502 \u81ea\u6258\u7ba1   \u2502<br \/>\n    \u2502 \u6258\u7ba1Runner\u2502 \u2502 \u6258\u7ba1Runner\u2502 \u2502 Runner  \u2502<br \/>\n    \u2502 (Linux)  \u2502 \u2502 (Windows)\u2502 \u2502 (\u79c1\u6709)   \u2502<br \/>\n    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h4>\u4f18\u52bf<\/h4>\n<ul>\n<li>**\u96f6\u8fd0\u7ef4**&#xff1a;GitHub \u6258\u7ba1 Runner \u5f00\u7bb1\u5373\u7528<\/li>\n<li>**Marketplace \u751f\u6001**&#xff1a;\u5927\u91cf\u793e\u533a Action \u53ef\u76f4\u63a5\u590d\u7528<\/li>\n<li>**YAML \u914d\u7f6e**&#xff1a;\u7b80\u6d01\u6613\u61c2<\/li>\n<li>**\u514d\u8d39\u989d\u5ea6**&#xff1a;\u516c\u5f00\u4ed3\u5e93\u65e0\u9650\u514d\u8d39&#xff0c;\u79c1\u6709\u4ed3\u5e932000\u5206\u949f\/\u6708\u514d\u8d39<\/li>\n<\/ul>\n<h4>\u52a3\u52bf<\/h4>\n<ul>\n<li>**\u7ed1\u5b9a GitHub**&#xff1a;\u4ee3\u7801\u5fc5\u987b\u5728 GitHub \u4e0a<\/li>\n<li>**\u79c1\u6709\u90e8\u7f72\u7684 Runner \u9700\u8981\u81ea\u7ef4\u62a4**<\/li>\n<li>**\u590d\u6742\u573a\u666f\u4e0b\u8c03\u8bd5\u56f0\u96be**&#xff1a;\u65e5\u5fd7\u67e5\u770b\u4e0d\u5982 Jenkins \u76f4\u89c2<\/li>\n<\/ul>\n<h4>\u81ea\u6258\u7ba1 Runner \u5b89\u88c5<\/h4>\n<p># \u5728\u4f60\u7684\u670d\u52a1\u5668\u4e0a\u6ce8\u518c\u81ea\u6258\u7ba1 Runner<br \/>\nmkdir actions-runner &amp;&amp; cd actions-runner<br \/>\ncurl -o actions-runner-linux-x64-2.317.0.tar.gz -L \\\\<br \/>\n  https:\/\/github.com\/actions\/runner\/releases\/download\/v2.317.0\/actions-runner-linux-x64-2.317.0.tar.gz<br \/>\ntar xzf actions-runner-linux-x64-2.317.0.tar.gz<\/p>\n<p># \u914d\u7f6e&#xff08;Token \u4ece GitHub \u4ed3\u5e93 Settings \u2192 Actions \u2192 Runners \u83b7\u53d6&#xff09;<br \/>\n.\/config.sh &#8211;url https:\/\/github.com\/your-org\/your-repo &#8211;token YOUR_TOKEN<\/p>\n<p># \u5b89\u88c5\u4e3a\u7cfb\u7edf\u670d\u52a1\u5e76\u542f\u52a8<br \/>\nsudo .\/svc.sh install<br \/>\nsudo .\/svc.sh start<\/p>\n<h4>\u9002\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u4ee3\u7801\u6258\u7ba1\u5728 GitHub \u4e0a<\/li>\n<li>\u5f00\u6e90\u9879\u76ee&#xff08;\u514d\u8d39\u989d\u5ea6\u65e0\u9650&#xff09;<\/li>\n<li>\u5c0f\u578b\u56e2\u961f\u6216\u521d\u521b\u516c\u53f8&#xff08;\u4e0d\u60f3\u7ef4\u62a4 CI \u57fa\u7840\u8bbe\u65bd&#xff09;<\/li>\n<li>\u9700\u8981\u4e30\u5bcc\u7684\u793e\u533a Action<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e94\u3001Drone&#xff1a;\u8f7b\u91cf\u7ea7\u7684\u4e91\u539f\u751f\u9009\u624b<\/h3>\n<h4>\u67b6\u6784<\/h4>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502          Drone Server             \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u2502<br \/>\n\u2502  \u2502 Web UI      \u2502 \u2502 Scheduler  \u2502  \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2518  \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                           \u2502<br \/>\n              \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n              \u25bc            \u25bc            \u25bc<br \/>\n         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n         \u2502 Drone   \u2502 \u2502 Drone   \u2502 \u2502 Drone   \u2502<br \/>\n         \u2502 Agent 1 \u2502 \u2502 Agent 2 \u2502 \u2502 Agent 3 \u2502<br \/>\n         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h4>\u4f18\u52bf<\/h4>\n<ul>\n<li>**\u6781\u81f4\u8f7b\u91cf**&#xff1a;Go \u7f16\u5199&#xff0c;\u542f\u52a8\u5feb&#xff0c;\u8d44\u6e90\u5360\u7528\u5c0f<\/li>\n<li>**\u7eaf Docker \u6267\u884c**&#xff1a;\u6bcf\u6b65\u90fd\u5728\u5bb9\u5668\u4e2d\u8fd0\u884c&#xff0c;\u73af\u5883\u9694\u79bb\u597d<\/li>\n<li>**YAML \u914d\u7f6e**&#xff1a;\u6781\u7b80\u8bed\u6cd5<\/li>\n<li>**\u6027\u80fd\u597d**&#xff1a;\u6bd4 Jenkins \u5feb\u5f88\u591a<\/li>\n<\/ul>\n<h4>\u52a3\u52bf<\/h4>\n<ul>\n<li>**\u793e\u533a\u5c0f**&#xff1a;\u63d2\u4ef6\u548c\u6587\u6863\u4e0d\u5982\u524d\u4e09\u8005\u4e30\u5bcc<\/li>\n<li>**\u529f\u80fd\u6709\u9650**&#xff1a;\u590d\u6742\u573a\u666f\u9700\u8981\u81ea\u5df1\u5199\u63d2\u4ef6<\/li>\n<li>**UI \u7b80\u964b**&#xff1a;\u529f\u80fd\u591f\u7528\u4f46\u4e0d\u591f\u597d\u770b<\/li>\n<\/ul>\n<h4>\u5b89\u88c5\u793a\u4f8b<\/h4>\n<p># docker-compose.yml<br \/>\nversion: &#039;3&#039;<br \/>\nservices:<br \/>\n  drone-server:<br \/>\n    image: drone\/drone:2<br \/>\n    ports:<br \/>\n      &#8211; &#034;80:80&#034;<br \/>\n      &#8211; &#034;443:443&#034;<br \/>\n    volumes:<br \/>\n      &#8211; drone-data:\/data<br \/>\n      &#8211; \/var\/run\/docker.sock:\/var\/run\/docker.sock<br \/>\n    environment:<br \/>\n      &#8211; DRONE_GITHUB_CLIENT_ID&#061;${GITHUB_CLIENT_ID}<br \/>\n      &#8211; DRONE_GITHUB_CLIENT_SECRET&#061;${GITHUB_CLIENT_SECRET}<br \/>\n      &#8211; DRONE_RPC_SECRET&#061;${RPC_SECRET}<br \/>\n      &#8211; DRONE_SERVER_HOST&#061;drone.mycompany.com<br \/>\n      &#8211; DRONE_SERVER_PROTO&#061;https<\/p>\n<p>  drone-runner:<br \/>\n    image: drone\/drone-runner-docker:1<br \/>\n    environment:<br \/>\n      &#8211; DRONE_RPC_PROTO&#061;http<br \/>\n      &#8211; DRONE_RPC_HOST&#061;drone-server<br \/>\n      &#8211; DRONE_RPC_SECRET&#061;${RPC_SECRET}<br \/>\n      &#8211; DRONE_RUNNER_CAPACITY&#061;2<\/p>\n<p>volumes:<br \/>\n  drone-data:<\/p>\n<h4>\u9002\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u8ffd\u6c42\u8f7b\u91cf\u548c\u9ad8\u6027\u80fd<\/li>\n<li>\u56e2\u961f\u6280\u672f\u80fd\u529b\u5f3a&#xff0c;\u4e0d\u4f9d\u8d56\u4e30\u5bcc\u63d2\u4ef6<\/li>\n<li>\u5df2\u6709 Docker \u57fa\u7840\u8bbe\u65bd<\/li>\n<\/ul>\n<hr \/>\n<h3>\u516d\u3001\u9009\u578b\u51b3\u7b56\u77e9\u9635<\/h3>\n<p>| \u7ef4\u5ea6 | Jenkins | GitLab CI | GitHub Actions | Drone |<\/p>\n<p>|&#8212;&#8212;|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8212;&#8212;|&#8212;&#8212;-|<\/p>\n<p>| \u4e0a\u624b\u96be\u5ea6 | \u4e2d\u9ad8 | \u4e2d | \u4f4e | \u4f4e |<\/p>\n<p>| \u914d\u7f6e\u65b9\u5f0f | Groovy DSL | YAML | YAML | YAML |<\/p>\n<p>| \u63d2\u4ef6\u751f\u6001 | \u2605\u2605\u2605\u2605\u2605 | \u2605\u2605\u2605\u2605 | \u2605\u2605\u2605\u2605 | \u2605\u2605 |<\/p>\n<p>| \u7ef4\u62a4\u6210\u672c | \u9ad8 | \u4e2d | \u4f4e | \u4f4e |<\/p>\n<p>| \u81ea\u6258\u7ba1 | \u662f | \u662f | \u90e8\u5206(Runner) | \u662f |<\/p>\n<p>| K8s \u96c6\u6210 | \u9700\u63d2\u4ef6 | \u539f\u751f | \u81ea\u6258\u7ba1 | \u539f\u751f |<\/p>\n<p>| \u79c1\u6709\u5316\u90e8\u7f72 | \u662f | \u662f | Runner\u53ef\u81ea\u6258\u7ba1 | \u662f |<\/p>\n<p>| \u8d39\u7528 | \u514d\u8d39 | \u514d\u8d39\/\u4ed8\u8d39\u7248 | \u514d\u8d39&#043;\u4ed8\u8d39 | \u514d\u8d39\/\u4ed8\u8d39 |<\/p>\n<h4>\u9009\u578b\u5efa\u8bae<\/h4>\n<p>\u521d\u521b\u56e2\u961f \/ \u5f00\u6e90\u9879\u76ee&#xff1a;GitHub Actions&#xff0c;\u96f6\u8fd0\u7ef4\u6210\u672c&#xff0c;\u76f4\u63a5\u7528<\/p>\n<p>\u4e2d\u5927\u578b\u4f01\u4e1a \/ \u4ee3\u7801\u5728 GitLab&#xff1a;GitLab CI&#xff0c;\u4e00\u4f53\u5316\u4f18\u52bf\u592a\u5927<\/p>\n<p>\u4f20\u7edf\u4f01\u4e1a \/ \u590d\u6742\u6d41\u6c34\u7ebf \/ Java \u6280\u672f\u6808&#xff1a;Jenkins&#xff0c;\u63d2\u4ef6\u751f\u6001\u65e0\u654c<\/p>\n<p>\u8ffd\u6c42\u8f7b\u91cf \/ \u5df2\u6709 Docker \u73af\u5883&#xff1a;Drone&#xff0c;\u7b80\u5355\u9ad8\u6548<\/p>\n<p>**\u57f9\u8bad\u8981\u70b9**&#xff1a;\u4e0d\u8981\u88ab&#034;\u67d0\u67d0\u5de5\u5177\u66f4\u597d&#034;\u7684\u8bf4\u6cd5\u5de6\u53f3\u3002\u5de5\u5177\u9009\u578b\u7684\u6838\u5fc3\u6807\u51c6\u662f\u2014\u2014\u4f60\u7684\u4ee3\u7801\u5728\u54ea\u91cc\u6258\u7ba1\u3001\u56e2\u961f\u6700\u719f\u6089\u4ec0\u4e48\u3001\u6709\u6ca1\u6709\u4e13\u804c\u8fd0\u7ef4\u4eba\u5458\u3002\u6ee1\u8db3\u8fd9\u4e09\u70b9\u7684\u5de5\u5177\u5c31\u662f\u597d\u5de5\u5177\u3002<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u672c\u7bc7\u8981\u70b9\u56de\u987e<\/h3>\n<p>1. \u56db\u5927\u5de5\u5177\u5404\u6709\u6240\u957f&#xff1a;Jenkins \u91cd\u5b9a\u5236\u3001GitLab CI \u91cd\u4e00\u4f53\u5316\u3001GitHub Actions \u91cd\u4fbf\u6377\u3001Drone \u91cd\u8f7b\u91cf<\/p>\n<p>2. \u67b6\u6784\u4e0a\u5206\u4e24\u7c7b&#xff1a;Jenkins \u7684\u4e3b\u4ece\u67b6\u6784 vs \u5176\u4ed6\u4e09\u8005\u7684 Runner\/Agent \u67b6\u6784<\/p>\n<p>3. \u914d\u7f6e\u8bed\u8a00\u8d8b\u52bf&#xff1a;\u4ece Groovy DSL \u5411 YAML \u53d1\u5c55&#xff0c;\u964d\u4f4e\u4e0a\u624b\u95e8\u69db<\/p>\n<p>4. \u9009\u578b\u6838\u5fc3\u6807\u51c6&#xff1a;\u4ee3\u7801\u6258\u7ba1\u4f4d\u7f6e &#043; \u56e2\u961f\u719f\u6089\u5ea6 &#043; \u8fd0\u7ef4\u80fd\u529b<\/p>\n<p>5. \u6ca1\u6709\u6700\u597d\u7684\u5de5\u5177&#xff0c;\u53ea\u6709\u6700\u5408\u9002\u7684\u5de5\u5177<\/p>\n<p>\u4e0b\u4e00\u7bc7\u9884\u544a&#xff1a;\u300aCI\/CD\u4e0eDevOps\u7684\u5173\u7cfb&#xff1a;\u6587\u5316\u3001\u5de5\u5177\u4e0e\u5b9e\u8df5\u7684\u878d\u5408\u300b\u2014\u2014\u4ece\u5de5\u5177\u9009\u578b\u56de\u5230\u65b9\u6cd5\u8bba\u5c42\u9762&#xff0c;\u7406\u89e3 CI\/CD \u5728 DevOps \u4f53\u7cfb\u4e2d\u7684\u5b9a\u4f4d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00\u4e86\u89e3\u4e86 CI\/CD \u7684\u4e09\u4e2a\u5c42\u6b21&#xff0c;\u63a5\u4e0b\u6765\u5c31\u662f\u9009\u5de5\u5177\u3002\u5e02\u9762\u4e0a\u7684 CI\/CD \u5de5\u5177\u4e0d\u4e0b\u4e8c\u5341\u79cd&#xff0c;\u4f46\u771f\u6b63\u5728\u4f01\u4e1a\u4e2d\u5e7f\u6cdb\u4f7f\u7528\u7684\u5c31\u90a3\u4e48\u51e0\u4e2a\u3002\u672c\u7bc7\u5bf9\u6bd4\u56db\u4e2a\u4e3b\u6d41\u5de5\u5177\u7684\u4f18\u52a3\u52bf&#xff0c;\u5e2e\u4f60\u5728\u642d\u5efa\u5e73\u53f0\u65f6\u505a\u51fa\u6b63\u786e\u7684\u9009\u578b\u51b3\u7b56\u3002\u4e00\u3001\u56db\u5927\u5de5\u5177\u901f\u89c8| \u5de5\u5177 | \u51fa\u8eab | \u67b6\u6784 | \u6838\u5fc3\u914d\u7f6e\u65b9\u5f0f | \u90e8\u7f72\u65b9\u5f0f |<br \/>\n|&#8212;&#8212;|&#8212;&#8212;|&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;|<br \/>\n| Jenkins | Sun\/CloudBees | \u4e3b\u4ece\u67b6\u6784 |<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10293,597,273,392],"topic":[],"class_list":["post-90434","post","type-post","status-publish","format-standard","hentry","category-server","tag-github-actions","tag-ci-cd","tag-gitlab","tag-jenkins"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010CI\/CD\u00b7\u5165\u95e8\u7bc7\u3011\u5de5\u5177\u94fe\u5168\u666f\uff1aJenkins\u3001GitLab CI\u3001GitHub Actions\u3001Drone \u5bf9\u6bd4\u9009\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/90434.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010CI\/CD\u00b7\u5165\u95e8\u7bc7\u3011\u5de5\u5177\u94fe\u5168\u666f\uff1aJenkins\u3001GitLab CI\u3001GitHub Actions\u3001Drone \u5bf9\u6bd4\u9009\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00\u4e86\u89e3\u4e86 CI\/CD \u7684\u4e09\u4e2a\u5c42\u6b21&#xff0c;\u63a5\u4e0b\u6765\u5c31\u662f\u9009\u5de5\u5177\u3002\u5e02\u9762\u4e0a\u7684 CI\/CD \u5de5\u5177\u4e0d\u4e0b\u4e8c\u5341\u79cd&#xff0c;\u4f46\u771f\u6b63\u5728\u4f01\u4e1a\u4e2d\u5e7f\u6cdb\u4f7f\u7528\u7684\u5c31\u90a3\u4e48\u51e0\u4e2a\u3002\u672c\u7bc7\u5bf9\u6bd4\u56db\u4e2a\u4e3b\u6d41\u5de5\u5177\u7684\u4f18\u52a3\u52bf&#xff0c;\u5e2e\u4f60\u5728\u642d\u5efa\u5e73\u53f0\u65f6\u505a\u51fa\u6b63\u786e\u7684\u9009\u578b\u51b3\u7b56\u3002\u4e00\u3001\u56db\u5927\u5de5\u5177\u901f\u89c8| \u5de5\u5177 | \u51fa\u8eab | \u67b6\u6784 | \u6838\u5fc3\u914d\u7f6e\u65b9\u5f0f | \u90e8\u7f72\u65b9\u5f0f | |------|------|------|-------------|---------| | Jenkins | Sun\/CloudBees | \u4e3b\u4ece\u67b6\u6784 |\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/90434.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-05T01:25:18+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/90434.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/90434.html\",\"name\":\"\u3010CI\/CD\u00b7\u5165\u95e8\u7bc7\u3011\u5de5\u5177\u94fe\u5168\u666f\uff1aJenkins\u3001GitLab CI\u3001GitHub Actions\u3001Drone \u5bf9\u6bd4\u9009\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-05T01:25:18+00:00\",\"dateModified\":\"2026-08-05T01:25:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/90434.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/90434.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/90434.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010CI\/CD\u00b7\u5165\u95e8\u7bc7\u3011\u5de5\u5177\u94fe\u5168\u666f\uff1aJenkins\u3001GitLab CI\u3001GitHub Actions\u3001Drone \u5bf9\u6bd4\u9009\u578b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010CI\/CD\u00b7\u5165\u95e8\u7bc7\u3011\u5de5\u5177\u94fe\u5168\u666f\uff1aJenkins\u3001GitLab CI\u3001GitHub Actions\u3001Drone \u5bf9\u6bd4\u9009\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/90434.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010CI\/CD\u00b7\u5165\u95e8\u7bc7\u3011\u5de5\u5177\u94fe\u5168\u666f\uff1aJenkins\u3001GitLab CI\u3001GitHub Actions\u3001Drone \u5bf9\u6bd4\u9009\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00\u4e86\u89e3\u4e86 CI\/CD \u7684\u4e09\u4e2a\u5c42\u6b21&#xff0c;\u63a5\u4e0b\u6765\u5c31\u662f\u9009\u5de5\u5177\u3002\u5e02\u9762\u4e0a\u7684 CI\/CD \u5de5\u5177\u4e0d\u4e0b\u4e8c\u5341\u79cd&#xff0c;\u4f46\u771f\u6b63\u5728\u4f01\u4e1a\u4e2d\u5e7f\u6cdb\u4f7f\u7528\u7684\u5c31\u90a3\u4e48\u51e0\u4e2a\u3002\u672c\u7bc7\u5bf9\u6bd4\u56db\u4e2a\u4e3b\u6d41\u5de5\u5177\u7684\u4f18\u52a3\u52bf&#xff0c;\u5e2e\u4f60\u5728\u642d\u5efa\u5e73\u53f0\u65f6\u505a\u51fa\u6b63\u786e\u7684\u9009\u578b\u51b3\u7b56\u3002\u4e00\u3001\u56db\u5927\u5de5\u5177\u901f\u89c8| \u5de5\u5177 | \u51fa\u8eab | \u67b6\u6784 | \u6838\u5fc3\u914d\u7f6e\u65b9\u5f0f | \u90e8\u7f72\u65b9\u5f0f | |------|------|------|-------------|---------| | Jenkins | Sun\/CloudBees | \u4e3b\u4ece\u67b6\u6784 |","og_url":"https:\/\/www.wsisp.com\/helps\/90434.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-05T01:25:18+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/90434.html","url":"https:\/\/www.wsisp.com\/helps\/90434.html","name":"\u3010CI\/CD\u00b7\u5165\u95e8\u7bc7\u3011\u5de5\u5177\u94fe\u5168\u666f\uff1aJenkins\u3001GitLab CI\u3001GitHub Actions\u3001Drone \u5bf9\u6bd4\u9009\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-05T01:25:18+00:00","dateModified":"2026-08-05T01:25:18+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/90434.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/90434.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/90434.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010CI\/CD\u00b7\u5165\u95e8\u7bc7\u3011\u5de5\u5177\u94fe\u5168\u666f\uff1aJenkins\u3001GitLab CI\u3001GitHub Actions\u3001Drone \u5bf9\u6bd4\u9009\u578b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/90434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=90434"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/90434\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=90434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=90434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=90434"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=90434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}