Como esperar até que um pipeline acionado conclua Gitlabci

#gitlab-ci.yml in project Atrigger_pipeline_in_B:  stage: integration_test_downstream  image: registry.gitlab.com/finestructure/pipeline-trigger  script:  - trigger -h "https://where.your.git.server.is" -a "$API_TOKEN" -p "$PROJ_TOKEN_USER_ASSIGNMENT" -t $TARGET_BRANCH_B $PROJ_ID_B  only:  - ...
Devops Captain