Managing Jenkins jobs:
Build jobs can be managed using the jenkins::job define
jenkins::job { 'test-build-job':
config => template("${templates}/test-build-job.xml.erb"),
}
jenkins::job { 'test-build-job':
enabled => 0,
config => template("${templates}/test-build-job.xml.erb"),
}
jenkins::job { 'test-build-job':
ensure => 'absent',
}