salt.states.jenkins module

Management of Jenkins

2016.3.0 新版功能.

salt.states.jenkins.absent(name, **kwargs)

Ensure the job is present in the Jenkins configured jobs

name
The name of the Jenkins job to remove.
salt.states.jenkins.present(name, config=None, **kwargs)

Ensure the job is present in the Jenkins configured jobs

name
The unique name for the Jenkins job
config
The Salt URL for the file to use for configuring the job.