Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer AGENT_HOMEDIRECTORY over HOME as bridge folder on linux systems #158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

reinier-vegter
Copy link

Following this documentation it seems more reliable to use Agent.HomeDirectory for storing semi-persistent files, than using $HOME (which is not fully guaranteed to exist, although it should on any properly configured instance).

Agent.TempDirectory is specific to a build, and Agent.WorkFolder is not guaranteed to be writable.

Context: working on a linux agent without HOME variable - I'm aware this is off - resulting in task error ##[error]The "path" argument must be of type string. Received undefined.

FWIW, could make the task a tiny bit more robust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant