Child job reflects parallel job status in the UI
Summary
UI does not refresh correctly which clicking child pipelines
Steps to reproduce
include:
- project: 'project'
file: '/YMLFiles/cicd-stages-ivr.yml'
TriggerProdDeploymentTemplate:
stage: deploy-prod
script:
- echo "Successfully deployed to destination server"
- exit 1
allow_failure: true
rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
when: manual
tags:
- linux
TriggerNonProdDeploymentValidationTemplate:
stage: validate-prod
script:
- echo "Successfully validate-prod"
allow_failure: true
tags:
- linux
rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
when: manual
include:
- project: 'project'
file: '/YMLFiles/cicd-stages-ivr.yml'
Select Datacenter:
when: manual
allow_failure: false
stage: deploy-prod
script:
- curl --request POST --form "token=$CI_JOB_TOKEN" --form variables[CHANGE_NUMBER]=$CHANGE_NUMBER --form ref=Deploy_1st_DataCenter https://gitlab.domain.com/api/v4/projects/73634/trigger/pipeline
- curl --request POST --form "token=$CI_JOB_TOKEN" --form variables[CHANGE_NUMBER]=$CHANGE_NUMBER --form ref=Deploy_2nd_DataCenter https://gitlab.domain.com/api/v4/projects/73635/trigger/pipeline
tags:
- linux
Example Project
What is the current bug behavior?
Clicking into the second listed child pipeline, the entry shows results from the pipeline above it. Clicking on the entry also connects to the pipeline that would be above it.
What is the expected correct behavior?
Clicking the pipeline entry next to the second entry should take the user to the correct pipeline
Relevant logs and/or screenshots
N/A, this appears to be an artifact of the UI, there is not a valid log entry
Output of checks
Results of GitLab environment info
Customer reported this behaviour on 13.5.5
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)