Using nested command substitution in jenkins pipeline sh step
问题 I'm trying to flatten a results directory prior to archiving using a symbolic link to the relevant inner folder that first traverses a bunch of variable path names determined at runtime. I can't quite seem to get the syntax right with this command substitution approach I picked up from this SO answer. Question: is there a rule for how to properly escape command substitution chains from a Jenkins pipeline step that I'm unaware of? Pipeline Script snippet post { always { sh """ echo 'Link to