Some pipelines contain jobs which belong to different environments. We should group the job icons in the `stages` section, by environment.