pyjen.plugins.folderjob module¶
Primitives that manage Jenkins job of type ‘Folder’
-
class
pyjen.plugins.folderjob.
FolderJob
(api)[source]¶ Bases:
pyjen.job.Job
Jenkins job of type ‘folder’
-
create_job
(job_name, job_class)[source]¶ Creates a new job on the Jenkins dashboard
- Parameters
job_name (str) – the name for this new job This name should be unique, different from any other jobs currently managed by the Jenkins instance
job_class – PyJen plugin class associated with the type of job to be created
- Returns
An object to manage the newly created job
- Return type
-
find_job
(job_name)[source]¶ Searches all jobs managed by this Jenkins instance for a specific job
- Parameters
job_name (str) – the name of the job to search for
- Returns
If a job with the specified name can be found, and object to manage the job will be returned, otherwise None
- Return type
-
-
pyjen.plugins.folderjob.
PluginClass
¶ alias of
pyjen.plugins.folderjob.FolderJob