jenkinsci/job-dsl-plugin — pull request #208 by daspilker (2014-05-20 19:14:03+00:00)
Title: Deprecation Warnings

I added a method to log a deprecation warning for the calling method. It is intended to be called from deprecated DSL methods so that users see a deprecation warnings in the build log.

It does some magic to analyze the stack trace to find the deprecated method and the code line calling that method.