Writing a Jenkins Pipeline: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:
* [[Jenkins_Operations#Writing_a_Jenkins_Pipeline|Jenkins Operations]]
* [[Jenkins_Operations#Writing_a_Jenkins_Pipeline|Jenkins Operations]]
* [[Jenkins Pipeline Syntax]]
* [[Jenkins Pipeline Syntax]]
* [[Groovy]]


=Steps=
=Steps=

Revision as of 05:49, 21 November 2019

Internal

Steps

These steps are used invoking on stage.. In a Jenkinsfile, and inside a stage, invoke on this.

def versionFile = stage.readFile("${stage.WORKSPACE}/terraform/my-module/VERSION")