[FIXED JENKINS-21569] Expose variable lineNumber in groovy.