compilefailuredetection

package
v0.0.0-...-a82170c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package compilefailuredetection analyses a failed build and determines if it needs to trigger a new analysis for it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeBuild

func AnalyzeBuild(c context.Context, bbid int64) (bool, error)

AnalyzeBuild analyzes a build and trigger an analysis if necessary. Returns true if a new analysis is triggered, returns false otherwise.

func RegisterTaskClass

func RegisterTaskClass()

RegisterTaskClass registers the task class for tq dispatcher.

func UpdateSucceededBuild

func UpdateSucceededBuild(c context.Context, bbid int64) error

UpdateSucceededBuild will be called when we got notification for a succeeded build It will set the ShouldCancel flag of the analysis for the corresponding build. Is should only do so if the commit for succeeded build is later than the commit for the analysis

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL