l.b.i.p.IPackageBuild(IBuildFarmJob) : interface documentation

Part of lp.buildmaster.interfaces.packagebuild View In Hierarchy

Known subclasses: lp.code.interfaces.sourcepackagerecipebuild.ISourcePackageRecipeBuildView, lp.snappy.interfaces.snapbuild.ISnapBuildView, lp.soyuz.interfaces.binarypackagebuild.IBinaryPackageBuildView, lp.soyuz.interfaces.livefsbuild.ILiveFSBuildView

Attributes and operations specific to package build jobs.
Object upload_log Undocumented
Attribute current_component Component where the source related to this build was last published.
Method verifySuccessfulUpload Verify that the upload of this build completed succesfully.
Method storeUploadLog Store the given content as the build upload_log.
Method notify Notify current build state to related people via email.
Method getUploader Return the person responsible for the upload.

Inherited from IBuildFarmJob:

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 setLog Set the LibraryFileAlias that contains the job log.
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.
upload_log =
Undocumented
current_component =
Component where the source related to this build was last published.
def verifySuccessfulUpload():
Verify that the upload of this build completed succesfully.
def storeUploadLog(content):
Store the given content as the build upload_log.
Parameterscontentstring containing the upload-processor log output for the binaries created in this build.
def notify(extra_info=None):
Notify current build state to related people via email.
Parametersextra_infoOptional extra information that will be included in the notification email. If the notification is for a failed-to-upload error then this must be the content of the upload log.
def getUploader(changes):
Return the person responsible for the upload.

This is used to when checking permissions.

ParameterschangesChanges file from the upload.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.