create Jenkins Job
fun createJenkinsJob(username: String, jobName: String, repoLink: String, isFreestyle: Boolean, config: (String) -> String = { it }): Boolean
Creates a Jenkins job.
Parameters
username
The username of the user to create the job at.
job Name
The name of the job.
repo Link
The Git URL to the repository.
is Freestyle
true
if the job is a freestyle job, false
otherwise. A freestyle job is defined as a job that isn't built with Maven.
config
A function to modify the XML configuration of the job.