JobTypeCommand OBJECT

A type of job that runs a command on an agent

Fields

agentAgent

The agent that is running the job

agentQueryRules[String!]

The ruleset used to find an agent to run this job

artifactsArtifactConnection

Artifacts uploaded to this job

Arguments

firstInt

lastInt

automaticArtifactUploadPathsString

A glob of files to automatically upload after the job finishes

buildBuild

The build that this job is a part of

canceledAtDateTime

The time when the job was cancelled

clusterCluster

The cluster of this job

clusterQueueClusterQueue

The cluster queue of this job

commandString

The command the job will run

concurrencyJobConcurrency

Concurrency information related to a job

createdAtDateTime

The time when the job was created

env[String!]

Environment variables for this job

eventsJobEventConnection!

Job events

Arguments

afterString

Returns the elements in the list that come after the specified cursor.

beforeString

Returns the elements in the list that come before the specified cursor.

firstInt

Returns the first n elements from the list.

lastInt

Returns the last n elements from the list.

exitStatusString

The exit status returned by the command on the agent

expiredAtDateTime

The time when the job was expired

finishedAtDateTime

The time when the job finished

idID!

labelString

The label of the job

matrixJSON

The matrix configuration values for this particular job

parallelGroupIndexInt

The index of this job within the parallel job group it is a part of. Null if this job is not part of a parallel job group.

parallelGroupTotalInt

The total number of jobs in the parallel job group this job is a part of. Null if this job is not part of a parallel job group.

passedBoolean!

If the job has finished and passed

pipelinePipeline

The pipeline that this job is a part of

priorityJobPriority!

The priority of this job

retriedBoolean!

If this job has been retried

retriedByUser

The user that retried this job

retriesCountInt

The number of times the job has been retried

retryRulesJobRetryRules

Job retry rules

retrySourceJob

The job that was retried to create this job

retryTypeJobRetryTypes

The type of retry that was performed on this job

runnableAtDateTime

The time when the job became available to be run by an agent

scheduledAtDateTime

The time when the job became scheduled for running

signalString

The termination signal which killed the command, if the command was killed

signalReasonJobEventSignalReason

If the termination signal was sent by the agent, the reason the agent took that action. If this field is null, and the signal field is not null, the command was killed by another process or by the operating system.

softFailedBoolean!

If the job soft failed

startedAtDateTime

The time when the job started running

stateJobStates!

The state of the job

stepStepCommand

The step that defined this job. Some older jobs in the system may not have an associated step

urlString!

The URL for the job

uuidString!

The UUID for this job

Interfaces