Jenkins
Read file from workspace:
readFile('file.txt')
Write file to workspace:
writeFile(file: 'file.txt', text: 'some content')
Read file from workspace:
readFile('file.txt')
Write file to workspace:
writeFile(file: 'file.txt', text: 'some content')