jlim
jlim

Reputation: 1039

Gitlab CI Pipeline shows RUNNING state when the parent job of a child trigger job is set to manual

I have a parent pipeline A that triggers another child pipeline B from another project. The child pipeline B has a manual action job. The entire pipeline status shows RUNNING when both pipelines has already completed except child pipeline B that still has the manual action to be executed later. I was expecting the parent status to show BLOCKED or PENDING when waiting for a manual action.

I'm running Gitlab EE Premium Self-Hosted version 14.10.3-ee

Parent Pipeline A

parent:pipeline:
  trigger:
    include:
      - project: 'childproject'
        file: 'pipeline-B.yml'
    strategy: depend
  allow_failure: false

Child Pipeline B

deploy:test:
  stage: deploy:staging
  script:
    - env
  rules:
     - when: manual
  allow_failure: false

enter image description here

enter image description here

Upvotes: 1

Views: 1237

Answers (1)

Dov Hershkovitch
Dov Hershkovitch

Reputation: 1

I would try removing the allow_failure: false from the manual job

Upvotes: 0

Related Questions