Jenkins Pipeline Syntax

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

External

Internal

Overview

node {

    echo 'Pipeline logic starts'

}

Parallel Stages

stage("tests") {

    parallel {

        stage("unit tests") {

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

             // run coverage tests ...
        }
    }
}