There are 2 jobs, in them the same project; one job is started only when a new version of git is detected; The second job should run the latest version of git, whose build was successful in the 1st job.
How to make the 2nd job run the last successful build of the 1st job?