Part of lp.buildmaster.interfaces.buildfarmjob View In Hierarchy
Known subclasses: lp.buildmaster.interfaces.buildfarmjob.ISpecificBuildFarmJob, lp.buildmaster.interfaces.packagebuild.IPackageBuild, lp.translations.interfaces.translationtemplatesbuild.ITranslationTemplatesBuild
Known implementations: lp.buildmaster.model.buildfarmjob.BuildFarmJob, lp.buildmaster.model.buildfarmjob.BuildFarmJobDerived
Attribute | id | The build farm job ID. |
Datetime | date_started | The timestamp when the build farm job was started. |
Timedelta | duration | Duration interval, calculated when the result gets collected. |
Bool | is_private | Whether the build should be treated as private. |
Choice | job_type | The specific type of job. |
Int | failure_count | Number of consecutive failures for this job. |
Method | getSpecificJob | Return the specific build job associated with this record. |
Method | gotFailure | Increment the failure_count for this job. |
Attribute | was_built | Whether or not modified by the builddfarm. |
Inherited from IBuildFarmJobOld:
Bool | virtualized | The virtualization setting required by this build farm job. This should be None for job types that do not care whether they run virtualized. |
Method | score | Calculate a job score appropriate for the job type in question. |
Method | getLogFileName | The preferred file name for this job's log. |
Method | getName | An appropriate name for this job. |
Method | getTitle | A string to identify and describe the job to users. |
Method | jobStarted | 'Job started' life cycle event, handle as appropriate. |
Method | jobReset | 'Job reset' life cycle event, handle as appropriate. |
Method | jobAborted | 'Job aborted' life cycle event, handle as appropriate. |
Method | addCandidateSelectionCriteria | Provide a sub-query to refine the candidate job selection. |
Method | postprocessCandidate | True if the candidate job is fine and should be dispatched |
Method | getByJob | Get the specific IBuildFarmJob for the given Job . |
Method | generateSlaveBuildCookie | Produce a cookie for the slave as a token of the job it's doing. |
Method | makeJob | Create the specific job relating this with an lp.services.job. |
Method | cleanUp | Job's finished. Delete its supporting data. |