CiJob

object CiJob
class Object
trait Matchable
class Any

Value members

Concrete methods

def active: SelectionBuilder[CiJob, Boolean]

Indicates the job is active.

Indicates the job is active.

def allowFailure: SelectionBuilder[CiJob, Boolean]

Whether the job is allowed to fail.

Whether the job is allowed to fail.

def artifacts[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[CiJobArtifactConnection, A]): SelectionBuilder[CiJob, Option[A]]

Artifacts generated by the job.

Artifacts generated by the job.

def cancelable: SelectionBuilder[CiJob, Boolean]

Indicates the job can be canceled.

Indicates the job can be canceled.

def commitPath: SelectionBuilder[CiJob, Option[String]]

Path to the commit that triggered the job.

Path to the commit that triggered the job.

def coverage: SelectionBuilder[CiJob, Option[Double]]

Coverage level of the job.

Coverage level of the job.

def createdAt: SelectionBuilder[CiJob, Time]

When the job was created.

When the job was created.

def createdByTag: SelectionBuilder[CiJob, Boolean]

Whether the job was created by a tag.

Whether the job was created by a tag.

def detailedStatus[A](innerSelection: SelectionBuilder[DetailedStatus, A]): SelectionBuilder[CiJob, Option[A]]

Detailed status of the job.

Detailed status of the job.

def duration: SelectionBuilder[CiJob, Option[Int]]

Duration of the job in seconds.

Duration of the job in seconds.

def finishedAt: SelectionBuilder[CiJob, Option[Time]]

When a job has finished running.

When a job has finished running.

def id: SelectionBuilder[CiJob, Option[JobID]]

ID of the job.

ID of the job.

def manualJob: SelectionBuilder[CiJob, Option[Boolean]]

Whether the job has a manual action.

Whether the job has a manual action.

def name: SelectionBuilder[CiJob, Option[String]]

Name of the job.

Name of the job.

def needs[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[CiBuildNeedConnection, A]): SelectionBuilder[CiJob, Option[A]]

References to builds that must complete before the jobs run.

References to builds that must complete before the jobs run.

def pipeline[A](innerSelection: SelectionBuilder[Pipeline, A]): SelectionBuilder[CiJob, Option[A]]

Pipeline the job belongs to.

Pipeline the job belongs to.

def playable: SelectionBuilder[CiJob, Boolean]

Indicates the job can be played.

Indicates the job can be played.

def queuedAt: SelectionBuilder[CiJob, Option[Time]]

When the job was enqueued and marked as pending.

When the job was enqueued and marked as pending.

def queuedDuration: SelectionBuilder[CiJob, Option[Duration]]

How long the job was enqueued before starting.

How long the job was enqueued before starting.

def refName: SelectionBuilder[CiJob, Option[String]]

Ref name of the job.

Ref name of the job.

def refPath: SelectionBuilder[CiJob, Option[String]]

Path to the ref.

Path to the ref.

def retryable: SelectionBuilder[CiJob, Boolean]

Indicates the job can be retried.

Indicates the job can be retried.

def scheduledAt: SelectionBuilder[CiJob, Option[Time]]

Schedule for the build.

Schedule for the build.

def schedulingType: SelectionBuilder[CiJob, Option[String]]

Type of pipeline scheduling. Value is dag if the pipeline uses the needs keyword, and stage otherwise.

Type of pipeline scheduling. Value is dag if the pipeline uses the needs keyword, and stage otherwise.

def shortSha: SelectionBuilder[CiJob, String]

Short SHA1 ID of the commit.

Short SHA1 ID of the commit.

def stage[A](innerSelection: SelectionBuilder[CiStage, A]): SelectionBuilder[CiJob, Option[A]]

Stage of the job.

Stage of the job.

def startedAt: SelectionBuilder[CiJob, Option[Time]]

When the job was started.

When the job was started.

def status: SelectionBuilder[CiJob, Option[CiJobStatus]]

Status of the job.

Status of the job.

def stuck: SelectionBuilder[CiJob, Boolean]

Indicates the job is stuck.

Indicates the job is stuck.

def tags: SelectionBuilder[CiJob, Option[List[String]]]

Tags for the current job.

Tags for the current job.

def triggered: SelectionBuilder[CiJob, Option[Boolean]]

Whether the job was triggered.

Whether the job was triggered.

def userPermissions[A](innerSelection: SelectionBuilder[JobPermissions, A]): SelectionBuilder[CiJob, A]

Permissions for the current user on the resource

Permissions for the current user on the resource