properly escape sh variables in groovy heredocs
properly escape sh variables in groovy heredocs

Anything worth fixing, is worth fixing at least 4 times...

jhoblitt/jenkins-dm-jobs,lsst-sqre/jenkins-dm-jobs