Writing a Jenkins Pipeline
Jump to navigation
Jump to search
Internal
Recipes
- read-file step. Reading a file from the workspace: https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#readfile-read-file-from-workspace
def clsFile = stage.readFile("${stage.WORKSPACE}/${path}/${name}.groovy")