title: Jenkins pipeline with parallel
body: <p>Here is my Jenkins pipeline that i am trying to execute. I am following <a href="https://jenkins.io/doc/book/pipeline/jenkinsfile/#using-multiple-nodes" rel="noreferrer">this tutorial</a>:</p>
  
  <pre><code>pipeline {
      agent any
      stages {
          stage('one') {
              parallel "first" : {               
                      echo "hello"                
              },
              "second": {                
                      echo "world"            
              }
          }
          stage('two') {
              parallel "first" : {               
                      echo "hello"                
              },
              "second": {                
                      echo "world"            
              }
          }
      }
  }
  </code></pre>
  
  <p>But the job fails with following message.</p>
  
  <pre><code>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 section "parallel". Starting with version 0.5, steps in a stage must be in a steps block. @ line 12, column 9.
             stage('two') {
             ^
  
  WorkflowScript: 4: Nothing to execute within stage "one" @ line 4, column 9.
             stage('one') {
             ^
  
  WorkflowScript: 12: Nothing to execute within stage "two" @ line 12, column 9.
             stage('two') {
             ^
  
  4 errors
  </code></pre>
  
  <p>Can someone please help me out why this is failing.</p>