@PublicApi
public interface BuildDirectoryManager
Modifier and Type | Interface and Description |
---|---|
static class |
BuildDirectoryManager.ServerSideTaskType |
Modifier and Type | Method and Description |
---|---|
String |
getAgentPathPrefix(ExecutableBuildAgent buildAgent) |
File |
getApplicationHome()
Returns application's/agent's home directory.
|
File |
getBaseBuildWorkingDirectory() |
@NotNull File |
getBuildWorkingDirectory(@NotNull Key key)
Returns the working directory for the plan.
|
@NotNull Path |
getServerSideTaskWorkingDirectory(@NotNull BuildDirectoryManager.ServerSideTaskType taskType)
Returns the directory used by server-side tasks of specific type.
|
@NotNull File |
getServerSideTaskWorkingDirectory(@NotNull ResultKey resultKey)
Returns the directory used by server-side tasks, e.g.
|
@Nullable File |
getWorkingDirectoryOfCurrentAgent() |
@NotNull @NotNull File getBuildWorkingDirectory(@NotNull @NotNull Key key)
key@return
- @Nullable @Nullable File getWorkingDirectoryOfCurrentAgent()
File getApplicationHome()
File getBaseBuildWorkingDirectory()
String getAgentPathPrefix(ExecutableBuildAgent buildAgent)
@NotNull @NotNull File getServerSideTaskWorkingDirectory(@NotNull @NotNull ResultKey resultKey)
resultKey@return
- UnsupportedOperationException
- if called on remote agent@NotNull @NotNull Path getServerSideTaskWorkingDirectory(@NotNull @NotNull BuildDirectoryManager.ServerSideTaskType taskType)
taskType
- @returnUnsupportedOperationException
- if called on remote agentCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.