Jenkins Pipeline Syntax: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


* https://jenkins.io/doc/book/pipeline/syntax/
* https://jenkins.io/doc/book/pipeline/syntax/
* https://jenkins.io/doc/pipeline/steps/
=Internal=
=Internal=



Revision as of 05:27, 9 December 2017

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 ...
        }
    }
}