Jenkins Pipeline Syntax: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 38: Line 38:


</syntaxhighlight>
</syntaxhighlight>
=Step Reference=
* 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:28, 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