Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public AzurePipelinesAgentInfo(ICakeEnvironment environment)
/// The local path on the agent where all folders for a given build definition are created.
/// </value>
/// <example><c>c:\agent\_work\1</c>.</example>
public FilePath BuildDirectory => GetEnvironmentString("AGENT_BUILDDIRECTORY");
public DirectoryPath BuildDirectory => GetEnvironmentString("AGENT_BUILDDIRECTORY");

/// <summary>
/// Gets the directory the agent is installed into. This contains the agent software.
Expand All @@ -38,15 +38,15 @@ public AzurePipelinesAgentInfo(ICakeEnvironment environment)
/// The directory the agent is installed into.
/// </value>
/// <example><c>c:\agent\</c>.</example>
public FilePath HomeDirectory => GetEnvironmentString("AGENT_HOMEDIRECTORY");
public DirectoryPath HomeDirectory => GetEnvironmentString("AGENT_HOMEDIRECTORY");

/// <summary>
/// Gets the working directory for this agent.
/// </summary>
/// <value>
/// The working directory for this agent.
/// </value>
public FilePath WorkingDirectory => GetEnvironmentString("AGENT_WORKFOLDER");
public DirectoryPath WorkingDirectory => GetEnvironmentString("AGENT_WORKFOLDER");

/// <summary>
/// Gets the ID of the agent.
Expand Down Expand Up @@ -98,7 +98,7 @@ public AzurePipelinesAgentInfo(ICakeEnvironment environment)
/// <value>
/// The task directory.
/// </value>
public FilePath ToolsDirectory => GetEnvironmentString("AGENT_TOOLSDIRECTORY");
public DirectoryPath ToolsDirectory => GetEnvironmentString("AGENT_TOOLSDIRECTORY");

/// <summary>
/// Gets a value indicating whether the current agent is a Microsoft hosted agent.
Expand Down
Loading