Job

A job is composed of steps, which will be run sequentially. A job is executed in a dedicated workspace (i.e. filesystem). A new workspace is assigned for each new run of a job.

Job

A standard build job looks like this:

Job

You can use « built-in » actions, such as checkoutApplication, script, jUnit, artifact upload/download.

Notice: you cannot share a workspace between jobs or between two runs of the same job. Actions Artifact Upload and Artifact Download can be used to transfert artifacts between jobs.

A Job is executed by a worker. CDS will select a worker for the job dependending on the Requirements the job’s requirements.

Steps

The steps of a job is the list of the different operations performed by the CDS worker. Each step is based on an Action pre-defined by CDS. The list of all actions is defined on *<your cds url ui>/#/action*. When a step fails, its parent job is stopped and marked as failed.

You can define a Step as final. It mean that even if the job fails before reaching it, the step will be executed anyway. The final steps are executed after all other steps.

You can find below an example of steps creation in CDS. You have 2 configuration flags:

Steps Examples