Part of lp.buildmaster.interfaces.webservice View In Hierarchy
|Attribute||id||The build farm job ID.|
|Attribute||build_farm_job||Generic build farm job record|
|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.|
|Bool||is_private||Whether the build should be treated as private.|
|Choice||job_type||The specific type of job.|
|Attribute||build_cookie||A string which uniquely identifies the job in the build farm.|
|Int||failure_count||Number of consecutive failures for this job.|
|Method||updateStatus||Update job metadata when the build status changes.|
|Method||gotFailure||Increment the failure_count for this job.|
|Method||calculateScore||Calculate the build queue priority for this job.|
|Method||estimateDuration||Estimate the build duration.|
|Method||queueBuild||Create a BuildQueue entry for this build.|
|Attribute||was_built||Whether or not modified by the builddfarm.|
|Attribute||external_dependencies||Newline-separated list of repositories to be used to retrieve any external build-dependencies when performing this build.|
This automatically handles setting status, date_finished, builder, dependencies. Later it will manage the denormalised search schema.
date_started and date_finished override the default (now).
Only sensible transitions are permitted unless force_invalid_transition is set. The override only exists for tests and as an escape hatch for buildd-manager's failure counting. You do not want to use it.
|Parameters||suspended||Whether the associated |