Jenkins Pipeline Syntax

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

node {

    echo 'Pipeline logic starts'

}

Parallel Stages

stage("tests") {

    parallel(

        "unit tests": {

             // run unit tests 
         },
         "coverage tests": {

             // run coverage tests
         }
     )
}

Step Reference