Parallel Job

A parallel job can include two distinct jobs that can be executed in parallel. You can define a parallel job by adding two hyphens (–) before the first job name and followed by a single hyphen (-) before the second job name. This symbolically denotes that both the jobs will be executed in parallel.

Note: A sequential job can be defined simply using a single hyphen(-).

YAML Code Snippet for Parallel Job

Here’s an example code snippet for a parallel job:

    
copy
name: testStage1 jobs: - testJob1 - - testJob2 - testJob3

Last Updated 2025-05-30 16:54:59 +0530 +0530