Comments (3)
Totally! We're actually working on new docs at the moment and it should hopefully cover some of this stuff. It'll hopefully also cover the lifecycle of a job and what states it's in and what they mean.
Here is a list of jobs states at the moment:
# a proper state hasn't been assigned yet. this is the default when created
# in a pipeline context.
PENDING = "pending".freeze
# the job is waiting to be scheduled as part of a pipeline
WAITING = "waiting".freeze
# the job was waiting, but won't be run because of a previous pipeline failure
WAITING_FAILED = "waiting_failed".freeze
# blocked on user interaction
BLOCKED = "blocked".freeze
# was blocked, but won't run now because the pipeline failed
BLOCKED_FAILED = "blocked_failed".freeze
# was previously blocked, but now the pipeline can continue
UNBLOCKED = "unblocked".freeze
# it was unblocked, but a previous step failed
UNBLOCKED_FAILED = "unblocked_failed".freeze
# waiting for an agent to pick it up
SCHEDULED = "scheduled".freeze
# has been assigned to an agent, and waiting the agent to officially start it
ASSIGNED = "assigned".freeze
# the agent has aknowledged that it has the job
ACCEPTED = "accepted".freeze
# it's running
RUNNING = "running".freeze
# job finished
FINISHED = "finished".freeze
# job canceled
CANCELING = "canceling".freeze
CANCELED = "canceled".freeze
# job timed out
TIMING_OUT = "timing_out".freeze
TIMED_OUT = "timed_out".freeze
# skipped
SKIPPED = "skipped".freeze
# the job is incapable of being run
BROKEN = "broken".freeze
If you have any other questions I'm happy to answer them here!
from docs.
Thanks @nickofthyme - I've added an internal ticket to look at that diagram with a view to adding some more description.
from docs.
I think this would still be nice to tuck a full description of the statuses away in the job-states somewhere. The current diagram below is great but it does not clearly explain when you would get a given status, beyond inferring from the state name itself. Especially when you can have a non-obvious job statuses, such as BROKEN
for skipped jobs.
from docs.
Related Issues (20)
- inconsistent examples on conditional build notifications
- New UI - Can't tell easily if the pipeline failed
- AOTVUNLEEVONG HOT 1
- Fail fast example doesn't show how to fail fast!
- The `agent lifecycle hooks` link under `Creating job lifecycle hooks` points to `Job lifecycle hooks` HOT 1
- “Running multiple agents” documentation should use --spawn HOT 2
- Glob pattern dist/**/* doesn't discover top level (within dist/) files
- Artifacts doc page should mention `--include-retried-jobs` flag HOT 2
- How can we get the value of user input HOT 1
- Documentation does not work for github merge queue
- Block step is always active, would be nice to be inactive until depends_on is complete HOT 1
- Conditional queue assignment HOT 6
- Block and wait behaving unexpectedly HOT 1
- There is no documentation for the allowed-repositories configuration setting HOT 2
- Confusing wording about SSO Organisations
- Permissions to delete a pipeline HOT 2
- bkua_1b3d70714487ab03c5281a2cdc9c9ef18e71e6e8
- Mr HOT 2
- API documentation HOT 1
- Incorrect description of BUILDKITE_REBUILT_FROM_BUILD_NUMBER HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.