.gitlab-ci.yml<\/i> \u6587\u4ef6\u4e2d\u5b9a\u4e49\u3002<\/td>\n<\/tr>\n\n15<\/td>\n | CI_JOB_TOKEN<\/td>\n | 9.0<\/td>\n | 1.2<\/td>\n | \u6b64\u4ee4\u724c\u7528\u4e8e\u5728\u6d89\u53ca\u89e6\u53d1\u5668\u65f6\u4f7f\u7528 GitLab \u5bb9\u5668\u6ce8\u518c\u8868\u548c\u591a\u9879\u76ee\u7ba1\u9053\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002<\/td>\n<\/tr>\n |
\n16<\/td>\n | CI_REPOSITORY_URL<\/td>\n | 9.0<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u4e86\u514b\u9686 Git \u5b58\u50a8\u5e93\u7684 URL\u3002<\/td>\n<\/tr>\n |
\n17<\/td>\n | CI_RUNNER_DESCRIPTION<\/td>\n | 8.10<\/td>\n | 0.5<\/td>\n | \u5b83\u6307\u5b9a\u8dd1\u6b65\u8005\u7684\u63cf\u8ff0\u3002<\/td>\n<\/tr>\n |
\n18<\/td>\n | CI_RUNNER_ID<\/td>\n | 8.10<\/td>\n | 0.5<\/td>\n | \u5b83\u4e3a\u6b63\u5728\u4f7f\u7528\u7684\u8dd1\u6b65\u8005\u63d0\u4f9b\u552f\u4e00\u7684 id\u3002<\/td>\n<\/tr>\n |
\n19<\/td>\n | CI_RUNNER_TAGS<\/td>\n | 8.10<\/td>\n | 0.5<\/td>\n | \u5b83\u5b9a\u4e49\u4e86\u8dd1\u6b65\u8005\u6807\u7b7e\u3002<\/td>\n<\/tr>\n |
\n20<\/td>\n | CI_RUNNER_VERSION<\/td>\n | \u5168\u90e8<\/td>\n | 10.6<\/td>\n | \u5b83\u6307\u5b9a\u5f53\u524d\u4f5c\u4e1a\u7684 GitLab \u8fd0\u884c\u5668\u7248\u672c\u3002<\/td>\n<\/tr>\n |
\n21<\/td>\n | CI_RUNNER_REVISION<\/td>\n | \u5168\u90e8<\/td>\n | 10.6<\/td>\n | \u5b83\u6307\u5b9a\u5f53\u524d\u4f5c\u4e1a\u7684 GitLab \u4fee\u8ba2\u7248\u3002<\/td>\n<\/tr>\n |
\n22<\/td>\n | CI_PIPELINE_ID<\/td>\n | 8.10<\/td>\n | 0.5<\/td>\n | \u5b83\u63d0\u4f9b\u5f53\u524d\u7ba1\u9053\u7684\u552f\u4e00 id\u3002<\/td>\n<\/tr>\n |
\n23<\/td>\n | CI_PIPELINE_SOURCE<\/td>\n | 9.3<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u4e86\u5982\u4f55\u901a\u8fc7\u4f7f\u7528\u4e00\u4e9b\u9009\u9879\uff08\u4f8b\u5982\u63a8\u9001\u3001Web\u3001\u89e6\u53d1\u5668\u3001\u8c03\u5ea6\u3001api\u3001\u7ba1\u9053\uff09\u6765\u89e6\u53d1\u7ba1\u9053\u3002<\/td>\n<\/tr>\n |
\n24<\/td>\n | CI_PIPELINE_TRIGGERED<\/td>\n | \u5168\u90e8<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u4f5c\u4e1a\u88ab\u89e6\u53d1\u3002<\/td>\n<\/tr>\n |
\n25<\/td>\n | CI_PIPELINE_SOURCE<\/td>\n | 10.0<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u4e86\u7ba1\u9053\u7684\u6765\u6e90\uff0c\u4f8b\u5982push\u3001web\u3001trigger\u3001schedule\u3001api\u3001external\u3002<\/td>\n<\/tr>\n |
\n26<\/td>\n | CI_PROJECT_DIR<\/td>\n | \u5168\u90e8<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u5b9a\u4e49\u4e86\u8fd0\u884c\u4f5c\u4e1a\u7684\u514b\u9686\u5b58\u50a8\u5e93\u7684\u5b8c\u6574\u8def\u5f84\u3002<\/td>\n<\/tr>\n |
\n27<\/td>\n | CI_PROJECT_ID<\/td>\n | \u5168\u90e8<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u63d0\u4f9b\u5f53\u524d\u9879\u76ee\u7684\u552f\u4e00ID\u3002<\/td>\n<\/tr>\n |
\n28<\/td>\n | CI_PROJECT_NAME<\/td>\n | 8.10<\/td>\n | 0.5<\/td>\n | \u5b83\u63d0\u4f9b\u5f53\u524d\u9879\u76ee\u7684\u540d\u79f0\u3002<\/td>\n<\/tr>\n |
\n29<\/td>\n | CI_PROJECT_PATH<\/td>\n | 8.10<\/td>\n | 0.5<\/td>\n | \u5b83\u63d0\u4f9b\u4e86\u9879\u76ee\u540d\u79f0\u548c\u547d\u540d\u7a7a\u95f4\u3002<\/td>\n<\/tr>\n |
\n30<\/td>\n | CI_PROJECT_URL<\/td>\n | 8.10<\/td>\n | 0.5<\/td>\n | \u5b83\u63d0\u4f9b\u4e86\u68c0\u7d22\u9879\u76ee\u7684 http \u5730\u5740\u3002<\/td>\n<\/tr>\n |
\n31<\/td>\n | CI_PROJECT_VISIBILITY<\/td>\n | 10.3<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u9879\u76ee\u7684\u53ef\u89c1\u6027\uff0c\u65e0\u8bba\u662f\u5185\u90e8\u7684\u3001\u79c1\u6709\u7684\u8fd8\u662f\u516c\u5171\u7684\u3002<\/td>\n<\/tr>\n |
\n32<\/td>\n | CI_REGISTRY<\/td>\n | 8.10<\/td>\n | 0.5<\/td>\n | \u5b83\u8fd4\u56de GitLab \u7684 Container Registry \u7684\u5730\u5740\uff0c\u4ec5\u5f53\u542f\u7528\u4e86 Container Registry \u65f6\u3002<\/td>\n<\/tr>\n |
\n33<\/td>\n | CI_REGISTRY_IMAGE<\/td>\n | 8.10<\/td>\n | 0.5<\/td>\n | \u5b83\u8fd4\u56de\u4e0e\u7279\u5b9a\u9879\u76ee\u7ed1\u5b9a\u7684 GitLab Container Registry \u7684\u5730\u5740\uff0c\u4ec5\u5f53\u542f\u7528\u4e86 Container Registry \u65f6\u3002<\/td>\n<\/tr>\n |
\n34<\/td>\n | CI_REGISTRY_PASSWORD<\/td>\n | 9.0<\/td>\n | \u5168\u90e8<\/td>\n | \u5bc6\u7801\u53ef\u7528\u4e8e\u5c06\u5bb9\u5668\u63a8\u9001\u5230 GitLab Container Registry\u3002<\/td>\n<\/tr>\n |
\n35<\/td>\n | CI_REGISTRY_USER<\/td>\n | 9.0<\/td>\n | \u5168\u90e8<\/td>\n | \u7528\u6237\u540d\u53ef\u7528\u4e8e\u5c06\u5bb9\u5668\u63a8\u9001\u5230 GitLab \u5bb9\u5668\u6ce8\u518c\u8868\u3002<\/td>\n<\/tr>\n |
\n36<\/td>\n | CI_SERVER<\/td>\n | \u5168\u90e8<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u4f5c\u4e1a\u5728 CI \u73af\u5883\u4e2d\u6267\u884c\u3002<\/td>\n<\/tr>\n |
\n37<\/td>\n | CI_SERVER_NAME<\/td>\n | \u5168\u90e8<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u63d0\u4f9b CI \u670d\u52a1\u5668\u540d\u79f0\u4ee5\u534f\u8c03\u4f5c\u4e1a\u3002<\/td>\n<\/tr>\n |
\n38<\/td>\n | CI_SERVER_REVISION<\/td>\n | \u5168\u90e8<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u7528\u4e8e\u901a\u8fc7\u4f7f\u7528 GitLab \u4fee\u8ba2\u7248\u6765\u5b89\u6392\u4f5c\u4e1a\u3002<\/td>\n<\/tr>\n |
\n39<\/td>\n | CI_SERVER_VERSION<\/td>\n | \u5168\u90e8<\/td>\n | \u5168\u90e8<\/td>\n | \u7528\u4e8e\u4f7f\u7528 GitLab \u7248\u672c\u8c03\u5ea6\u4f5c\u4e1a\u3002<\/td>\n<\/tr>\n |
\n40<\/td>\n | CI_SHARED_ENVIRONMENT<\/td>\n | \u5168\u90e8<\/td>\n | 10.1<\/td>\n | \u8868\u793ajob\u5728\u5171\u4eab\u73af\u5883\u4e2d\u6267\u884c\uff0c\u5982\u679c\u662f\u5171\u4eab\u73af\u5883\uff0c\u5219\u8bbe\u7f6e\u4e3atrue\u3002<\/td>\n<\/tr>\n |
\n41<\/td>\n | ARTIFACT_DOWNLOAD_ATTEMPTS<\/td>\n | 8.15<\/td>\n | 1.9<\/td>\n | \u5b83\u6307\u5b9a\u5c1d\u8bd5\u4e0b\u8f7d\u8fd0\u884c\u4f5c\u4e1a\u7684\u5de5\u4ef6\u7684\u6b21\u6570\u3002<\/td>\n<\/tr>\n |
\n42<\/td>\n | GET_SOURCES_ATTEMPTS<\/td>\n | 8.15<\/td>\n | 1.9<\/td>\n | \u5b83\u6307\u5b9a\u8ba9\u6e90\u8fd0\u884c\u4f5c\u4e1a\u7684\u5c1d\u8bd5\u6b21\u6570\u3002<\/td>\n<\/tr>\n |
\n43<\/td>\n | GITLAB_CI<\/td>\n | \u5168\u90e8<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u4f5c\u4e1a\u5728 GitLab CI \u73af\u5883\u4e2d\u5b8c\u6210\u3002<\/td>\n<\/tr>\n |
\n44<\/td>\n | GITLAB_USER_ID<\/td>\n | 8.12<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u4e86\u6b63\u5728\u8fd0\u884c\u4f5c\u4e1a\u7684 GitLab \u7528\u6237\u7684 ID\u3002<\/td>\n<\/tr>\n |
\n45<\/td>\n | GITLAB_USER_EMAIL<\/td>\n | 8.12<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u6b63\u5728\u8fd0\u884c\u4f5c\u4e1a\u7684 GitLab \u7528\u6237\u7684\u7535\u5b50\u90ae\u4ef6\u3002<\/td>\n<\/tr>\n |
\n46<\/td>\n | GITLAB_USER_LOGIN<\/td>\n | 10.0<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u4e86\u6b63\u5728\u8fd0\u884c\u4f5c\u4e1a\u7684 GitLab \u7528\u6237\u7684\u767b\u5f55\u7528\u6237\u540d\u3002<\/td>\n<\/tr>\n |
\n47<\/td>\n | GITLAB_USER_NAME<\/td>\n | 10.0<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u6307\u5b9a\u4e86\u6b63\u5728\u8fd0\u884c\u4f5c\u4e1a\u7684 GitLab \u7528\u6237\u7684\u771f\u5b9e\u59d3\u540d\u3002<\/td>\n<\/tr>\n |
\n48<\/td>\n | GITLAB_FEATURES<\/td>\n | 10.6<\/td>\n | \u5168\u90e8<\/td>\n | \u5b83\u63d0\u4f9b\u4e86 GitLab \u5b9e\u4f8b\u548c\u8ba1\u5212\u7684\u8bb8\u53ef\u529f\u80fd\u5217\u8868\u3002<\/td>\n<\/tr>\n |
\n49<\/td>\n | RESTORE_CACHE_ATTEMPTS<\/td>\n | 8.15<\/td>\n | 1.9<\/td>\n | \u5b83\u5b9a\u4e49\u4e86\u6062\u590d\u6b63\u5728\u8fd0\u884c\u7684\u4f5c\u4e1a\u7684\u7f13\u5b58\u5c1d\u8bd5\u6b21\u6570\u3002<\/td>\n<\/tr>\n |
\n50<\/td>\n | CI_DISPOSABLE_ENVIRONMENT<\/td>\n | \u5168\u90e8<\/td>\n | 10.1<\/td>\n | \u8868\u793ajob\u5728\u4e00\u6b21\u6027\u73af\u5883\u4e2d\u6267\u884c\uff0c\u5982\u679c\u73af\u5883\u662f\u4e00\u6b21\u6027\u7684\uff0c\u5219\u8bbe\u7f6e\u4e3atrue\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n \u4e0b\u8868\u663e\u793a\u4e86\u53ef\u7528\u4e8e GitLab 9.0 \u7248\u672c\u7684\u65b0\u53d8\u91cf\u5217\u8868-\n<\/div>\n \n\n\nS.No.<\/td>\n | 9.0+ \u540d\u79f0<\/td>\n<\/tr>\n | \n1<\/td>\n | CI_JOB_ID<\/td>\n<\/tr>\n | \n2<\/td>\n | CI_COMMIT_SHA<\/td>\n<\/tr>\n | \n3<\/td>\n | CI_COMMIT_TAG<\/td>\n<\/tr>\n | \n4<\/td>\n | CI_COMMIT_REF_NAME<\/td>\n<\/tr>\n | \n5<\/td>\n | CI_COMMIT_REF_SLUG<\/td>\n<\/tr>\n | \n6<\/td>\n | CI_JOB_NAME<\/td>\n<\/tr>\n | \n7<\/td>\n | CI_JOB_STAGE<\/td>\n<\/tr>\n | \n8<\/td>\n | CI_REPOSITORY_URL<\/td>\n<\/tr>\n | \n9<\/td>\n | CI_PIPELINE_TRIGGERED<\/td>\n<\/tr>\n | \n10<\/td>\n | CI_JOB_MANUAL<\/td>\n<\/tr>\n | \n11<\/td>\n | CI_JOB_TOKEN<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"GitLab CI\/CD \u53d8\u91cfzh-cn","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[151],"tags":[],"class_list":["post-1713","post","type-post","status-publish","format-standard","hentry","category-gitlabjc"],"_links":{"self":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/1713"}],"collection":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/comments?post=1713"}],"version-history":[{"count":0,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/1713\/revisions"}],"wp:attachment":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/media?parent=1713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/categories?post=1713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/tags?post=1713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} | |