Job webhook now send status created for all jobs on pipeline start

Summary

When pipeline started then job webhook send status created for all jobs in pipeline. Earlier status created was sended when pipeline went to specific job and start process it.

Steps to reproduce

Run pipeline with many jobs

What is the current bug behavior?

Job webhook send status created for all jobs in pipeline when pipeline start.

What is the expected correct behavior?

Send status created for job when pipeline start process this job.

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Assignee Loading
Time tracking Loading