Skip to content
Snippets Groups Projects
Commit 14ebee7f authored by Administrator's avatar Administrator
Browse files

Add parent and child pipelines CI files

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #6431 passed
Pipeline: pipelines-dependent-relationship-9115fb9e07940a85

#6432

    child_job:
    stage: test
    tags: ["pipelines-dependent-relationship-9115fb9e07940a85"]
    needs:
    - project: gitlab-qa-sandbox-group-6/qa-test-2024-11-01-15-56-54-7ee74f3a569832ca/pipelines-dependent-relationship-9115fb9e07940a85
    job: job1
    ref: main
    artifacts: true
    script:
    - cat output.txt
    - echo "Child job done!"
    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"
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment