Run merge after build finish. Build will be marked as finished when merge is not performed. If merge fails the status of the build can be changed