Jenkins pipeline with parallel
Here is my Jenkins pipeline that i am trying to execute. I am following this tutorial : pipeline { agent any stages { stage('one') { parallel "first" : { echo "hello" }, "second": { echo "world" } } stage('two') { parallel "first" : { echo "hello" }, "second": { echo "world" } } } } But the job fails with following message. org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 4: Unknown stage section "parallel". Starting with version 0.5, steps in a stage must be in a steps block. @ line 4, column 9. stage('one') { ^ WorkflowScript: 12: Unknown stage