If you want to use a file (since a script is the thing generating the value you ... from your script directly or with writeFile and then later read it back in with readFile .
jenkins-scripted-pipeline-read-file
939c2ea5af
jenkins scripted pipeline read file
Comments