Fix: Change input to allow embedded refs 17/70417/2
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 27 Jul 2022 21:27:13 +0000 (07:27 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 5 Aug 2022 02:07:08 +0000 (12:07 +1000)
commit6c5b7050182c72da20867ed36ba778694b7d1eba
tree5933b103222753c38a46f35fd23568aec6893166
parent6e371aaf151bd5004dee8fa40be4413046746612
Fix: Change input to allow embedded refs

Change the single-quoted string to double quotes
to allow embedded references to variables without
which the credentials files do not get created under
$HOME.

Error:
[ERROR] failed to expand variables in target location
'$HOME/.aws/credentials' : Error processing tokens
copy managed file [jenkins-s3-log-ship] to
file:/w/workspace/aaa-ci-pipeline_70_101670_21/$HOME/
.aws/credentials

Update the test to add $HOME mock variable.

Issue-ID: RELENG-4327
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I8019d0c0bc9aa3eacf8eb902e33102271de303bb
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
src/test/groovy/LFInfraShipLogsSpec.groovy
vars/lfInfraShipLogs.groovy