[JENKINS-21014] include verify in upstream candidate calculation

Now takes Maven verify phase into consideration when determine upstream candidate calculation. More details in the Jira issue.
Thanks for considering this pull request.