Interface JenkinsNodeParameters

Source
interface JenkinsNodeParameters {
    job?: string;
    limit?: number;
    newJob?: string;
    operation?:
        | "create"
        | "getAll"
        | "copy"
        | "trigger"
        | "triggerParams"
        | "cancelQuietDown"
        | "quietDown"
        | "restart"
        | "safeRestart"
        | "safeExit"
        | "exit";
    param?: { params: { name?: string; value?: string }[] };
    reason?: string;
    resource?: "job" | "instance" | "build";
    returnAll?: boolean;
    xml?: string;
}

Properties§

Source§

readonly job?: string

Name of the job. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getJobs"}

Source§

readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1}

Source§

readonly newJob?: string

Name of the new Jenkins job

Source§

readonly operation?:
    | "create"
    | "getAll"
    | "copy"
    | "trigger"
    | "triggerParams"
    | "cancelQuietDown"
    | "quietDown"
    | "restart"
    | "safeRestart"
    | "safeExit"
    | "exit"

Possible operations Default: "trigger"

Source§

readonly param?: { params: { name?: string; value?: string }[] }

Parameters for Jenkins job Default: {} Type options: {"multipleValues":true}

Source§

readonly reason?: string

Freeform reason for quiet down mode

Source§

readonly resource?: "job" | "instance" | "build"

Default: "job"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly xml?: string

XML of Jenkins config