Jenkins Job-DSL is a Jenkins plugin which enables the creation of Jenkins Jobs using Groovy scripts. It's available in the standard Jenkins plugin list.
For command reference see the Job DSL API Viewer.
Example of DSL script:
job('Hello World') {
description 'A Simple Job'
scm {
github 'pdurbin/maven-hello-world'
}
steps {
maven 'package', 'my-app/pom.xml'
}
publishers {
archiveArtifacts 'build/**/jar'
}
}