JetBrains Space Help

Jobs and Steps

Jobs and steps DSL

The most basic Automation unit is the step. A step is the smallest possible building block of the automation script, and it answers two questions: What to run and where to run it? You cannot use steps on their own, but only as parts of larger Automation entities, such as jobs, for example.

A job is a defined task consisting of steps. The simplest automation script consists of a single job and, in turn, the simplest job consists of a single step.

Main features of jobs and steps

  1. A job run is triggered by a project event. By default, it's 'git push'. You can also run jobs manually .

  2. All jobs within a script run in parallel.

  3. Steps within a job can be run in sequence and in parallel.

  4. A job can have specific failure conditions.

  5. A script can contain up to 100 jobs and each job can contain up to 50 steps.

  6. You can run a step in the following environments:

    • Docker container

    • (Not yet available) Virtual machine

    • (Not yet available) Function

Last modified: 12 January 2021