The flow Project module handles creating Jenkins flow projects. You may specify flow in the project-type attribute of the Job definition.
Requires the Jenkins Build Flow Plugin.
Example:
job:
name: test_job
project-type: flow
dsl: |
build("job1")
parallel (
{ build("job2a") },
{ build("job2b") }
)