What is a job?

A job is what runs your build process on CircleCI 2.0. It is essentially a series of steps that runs in an execution environment. Jobs are defined in your CircleCI 2.0 config.yml.

At the very minimum, your job needs to have an executor defined, and at least one step. Typically your job will first check out your repository using the special checkout step. Then, using run steps, you can execute bash commands to perform your building, testing, and deployments.

Using workflows, you can define multiple jobs that run in a specific sequence, in parallel, and various other nifty configurations

There are a whole bunch of special steps you can use to speed up your jobs or add other functionality to your build process. You can try using cached dependencies, saving artifacts you've created in your jobs, or even saving your test reports to see how your tests performed right on the job page UI.

While you're waiting for your jobs to complete take a scroll through all of the step options here on the docs page.

Was this article helpful?
4 out of 4 found this helpful



Article is closed for comments.