I build images usig Jenkinsfile with my versioning which store in txt files.
And I use ssh-agent in post-actions to remove temporary images.
So I use command set like this:
And in Console Output I see that result:
I tried many other bash possibilities: single/double quotes, apostrophes, while-cycle; set etc. And always blocked to get data from file to set env.
Besides other operations, which "echo $PATH", "cat ./<filename>" finished successful.
So: maybe you offer me the way to solve my problem?