configure

fun configure(id: String, runsOn: RunsOn, block: Configure<Job> = Configure {}): Job

Creates and configures a Job instance.

Return

Configured Job instance

Parameters

id

Unique identifier for the job (will be converted to lowercase with spaces replaced by hyphens)

runsOn

The runner environment where the job will execute

block

Configuration lambda to set up the job