Azure-devops-docs: Are files downloaded to $env:TEMP?

Created on 15 May 2018  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-devops-docs

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?


Detalhes do documento

⚠ Não edite esta seção. É necessário para a vinculação do problema do docs.microsoft.com ➟ GitHub.

Most helpful comment

Thanks a lot, @dtamai and @arnoldpistorius! This documentation is fixed and should be available in production later today.

All 3 comments

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!

Was this page helpful?
0 / 5 - 0 ratings