Add display_name keyword for custom display name on GitLab UI
What does this MR do and why?
Add display_name
on Job
CI keyword for custom display job name on GitLab UI.
Connected to #27621 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Add
display_name
underjob
section in.gitlab-ci.yml
stages:
- build
- test
build-job:
display_name: 'DISPLAY_NAME_1'
stage: build
script:
- echo "Compiling the code..."
- echo "Compile complete."
manual_confirmation: "TEST abc"
unit-test-job:
stage: test
display_name: 'DISPLAY_NAME_2'
script:
- echo "Running unit tests... This will take about 60 seconds."
- sleep 60
- echo "Code coverage is 90%"
- Display name should show instead of job name.
Edited by Phawin Khongkhasawan