Jenkins Pipeline Syntax

From NovaOrdis Knowledge Base
Revision as of 05:24, 9 December 2017 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

Internal

Overview

node {

    echo 'Pipeline logic starts'

}

Parallel Stages

stage("tests") {

    parallel {

        stage("unit tests") {

             // run unit tests ...
        }
        stage("coverage tests") {

             // run coverage tests ...
        }
    }
}