[FIXED JENKINS-21569] Expose variable lineNumber also when validating the script.
Merge branch 'master' of github.com:jenkinsci/warnings-plugin