Jenkins Pipeline Syntax: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 41: Line 41:
=Step Reference=
=Step Reference=


* https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#stash-stash-some-files-to-be-used-later-in-the-build stash
* [https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#stash-stash-some-files-to-be-used-later-in-the-build stash]

Revision as of 05:29, 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 ...
        }
    }
}

Step Reference