[FIXED JENKINS-20719] Fixed projects.size to projects.size() in groovy script. This caused exception with IBM Java 6.