For example, it’s common to use rules: changes with merge request pipelines: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 docker build: script: docker build -t my-image:$CI_COMMIT_REF_SLUG . rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' changes: - Dockerfile whe...
codescan:stage:codescan tags:-build script:-echo"codescan"-sleep5;#parallel:5rules:-exists:-Jenkinsfile when:manual-changes:-Jenkinsfile when:on_success-if:'$DOMAIN == "example.com"'when:on_success-when:on_success rules:allow_failure 使用allow_failure: true rules:在不停止管道本身的情况下允...
workflow:rules:-if:'$CI_PIPELINE_SOURCE == "push"'# 当为 push 的时候才会触发,其他情况下不会触发该流水线when:never# 上面的条件为 true 时,永远不执行-when:always# 上面的条件为 false 时,永远执行stages:# 指定运行的步骤,没有指定就顺序执行-build-deploy-test-rebasebuild1:# job 的名称tags:-k...
In this example, if the INCLUDE_BUILDS variable is: true, the build_jobs.yml configuration is included in the pipeline. Not true or does not exist, the build_jobs.yml configuration is not included in the pipeline. Related topics: Examples of using include with: rules:if. rules:changes. ru...
Be careful when moving an issue to a project with different access rules. Before moving the issue, make sure it does not contain sensitive data. Prerequisites: You must have at least the Planner role for the project. To move an issue: ...
gitlab-ci.yml rules: - changes: - a/* trigger_b: stage: triggers trigger: include: b/.gitlab-ci.yml rules: - changes: - b/* Example child a pipeline configuration, located in /a/.gitlab-ci.yml, making use of the DAG needs: keyword: 代码语言:javascript 代码运行次数:0 运行 AI...
Frequently Asked Questions What are the current GitLab.com storage limits? Ready to get started? See what your team can do with the most comprehensive AI-powered DevSecOps platform. Get free trial Talk to sales
限制job 创建的时间,也可用:only:refs, only:kubernetes, only:variables, and only:changes. pages 上传与 gitlab pages 一起使用的结果 parallel 一个job 的多少个实例可以同时运行 release 指示运行程序生成一个发布对象。 resource_group 限制job 并发 retry 在失败的情况下,一个job可以自动重试几次。 rules ...
Engineering Projects Engineering Secondments Engineering Team Readmes Engineering Workflow Code Review Guidelines Code Review Values Iteration Related Engineering Workflows Release/Feature Determination Workflow Expansion Development Department Fast Boot Frontend Group FY25 Engineering get-together ...
For example: # routing_rules: # - ["resource_boundary=cpu", "cpu_boundary"] # - ["feature_category=pages", null] # - ["*", "default"] ## Auxiliary jobs # Periodically executed jobs, to self-heal GitLab, do external synchronizations, etc. # Please read here for more information:...