GitLab CI lint could warn when multiple jobs in a pipeline deploy to the same environment
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
As discussed in https://gitlab.com/gitlab-org/gitlab-ce/issues/57820#note_177234423 - if you define a .gitlab-ci.yml that has multiple jobs that deploy to the same environment it can result in confusion (as it did for me).
It would probably be handy if the CI lint or gitlab itself raised a warning about the duplicate environment tag, then I might've understood what was going on more easily!
Edited by 🤖 GitLab Bot 🤖