Job DSL Script, which is groovy code. Look at documentation for details on the syntax.