Skip to content

[enhancement]: Reference Present Working Directory on Unix Systems for WellKnownDirectory.Root #5208

Open
@LukeIGS

Description

@LukeIGS

Describe your feature request here

On a build server it can be useful to have multiple instances of an agent running at once while only having to maintain a single set of binaries. Currently this is an exceedingly difficult (if not actually impossible) to create as the agent's session files (.agent et al.) will always be created above where the bin directory actually lives on the server.

This is because WellKnownDirectory.Root references (GetDirectory(WellKnownDirectory.Bin)).Parent.FullName instead of using the Present Working Directory

It would be very nice if we could store one global instance of the build agent binaries, run it from inside/symlink the bin directory into a working directory (eg several unix services, host-build-01, host-build-02, host-build-03, host-build-04) and have the entire agent session be stored alongside its work directory and everything else (currently only work and tools can be moved) instead of the directory above wherever the bin directory actually lives on the host.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions