There are a lot of examples of groovy scripts (http://scriptlerweb.appspot.com/catalog/list) no no example of new job creation.
groovy jenkins
groovy ×1
jenkins ×1