Writing a Jenkins Pipeline: Difference between revisions

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


<syntaxhighlight lang='groovy'>
<syntaxhighlight lang='groovy'>
def clsFile = stage.readFile("${stage.WORKSPACE}/${path}/${name}.groovy")
def versionFile = stage.readFile("${stage.WORKSPACE}/terraform/my-module/VERSION")
</syntaxhighlight>
</syntaxhighlight>

Revision as of 01:21, 21 November 2019

Internal

Recipes

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