Skip to content
Snippets Groups Projects
.gitlab-ci.yml 361 B
Newer Older
  • Learn to ignore specific revisions
  • stages:
      - build
      - test
      - deploy
    
    default:
      tags: ["pipelines-dependent-relationship-9115fb9e07940a85"]
    
    job1:
      stage: build
      script: echo "build success" > output.txt
      artifacts:
        paths:
          - output.txt
    
    job2:
      stage: test
      trigger:
        include: ".child-ci.yml"
        strategy: depend
    
    job3:
      stage: deploy
      script: echo "parent deploy done"