[FIXED JENKINS-19042]

Added a new overloaded version that works on a project.

Updated CoreEnvironmentContributor accordingly.