CiProvider

interface CiProvider(source)

Reads runs, jobs and logs through a provider's own command line tool, so its login does the authentication. Every method throws CiStop when the tool cannot answer.

Inheritors

Properties

Link copied to clipboard
abstract val kind: CiProviderKind

Functions

Link copied to clipboard
abstract fun failedRun(repo: CiRepo, branch: String?, commit: String?, run: String?): CiRunInfo
Link copied to clipboard
abstract fun import(log: String, summary: String, label: String, job: String): Import
Link copied to clipboard
abstract fun jobs(summary: String): List<CiJobInfo>
Link copied to clipboard
abstract fun log(repo: CiRepo, run: CiRunInfo, job: CiJobInfo): String
Link copied to clipboard
abstract fun passingRun(repo: CiRepo, failed: CiRunInfo, good: String?): CiRunInfo
Link copied to clipboard
abstract fun summary(repo: CiRepo, run: CiRunInfo): String

The run's outcome and jobs as JSON, in the shape of the matching importer's summary.