JobStates ENUM

All the possible states a job can be in

ENUM Values

ACCEPTED

The job was accepted by the agent, and now it's waiting to start running

ASSIGNED

The job has been assigned to an agent, and it's waiting for it to accept

BLOCKED

The job is waiting on a block step to finish

BLOCKED_FAILED

The job was in a BLOCKED state when the build failed

BROKEN

The jobs configuration means that it can't be run

CANCELED

The job was canceled

CANCELING

The job is currently canceling

EXPIRED

The job expired before it was started on an agent

FINISHED

The job has finished

LIMITED

The job is waiting for jobs with the same concurrency group to finish

LIMITING

The job is waiting on a concurrency group check before becoming either LIMITED or SCHEDULED

PENDING

The job has just been created and doesn't have a state yet

RUNNING

The job is running

SCHEDULED

The job is scheduled and waiting for an agent

SKIPPED

The job was skipped

TIMED_OUT

The job timed out

TIMING_OUT

The job is timing out for taking too long

UNBLOCKED

This block job has been manually unblocked

UNBLOCKED_FAILED

This block job was in an UNBLOCKED state when the build failed

WAITING

The job is waiting on a wait step to finish

WAITING_FAILED

The job was in a WAITING state when the build failed