I have a release definition that uses a Copy Files task to copy the downloaded secure file to the application folder.
When Source Folder is configured to $(TEMP)
the task doesn't copy any file, but when I change it to $(Agent.TempDirectory)
the file is copied.
From the source code I would say the Download Secure File task downloads the file to the _Agent.TempDirectory_ folder (https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/Common/securefiles-common/securefiles-common.ts#L58).
Am I missing something?
⚠Não edite esta seção. É necessário para a vinculação do problema do docs.microsoft.com ➟ GitHub.
I can confirm this behavior on my machine too. I think the documentation should be altered to use the $(Agent.TempDirectory) instead of $env:TEMP variable
Thanks a lot, @dtamai and @arnoldpistorius! This documentation is fixed and should be available in production later today.
Verified complete. Thanks!
Most helpful comment
Thanks a lot, @dtamai and @arnoldpistorius! This documentation is fixed and should be available in production later today.