@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() |
File |
getBuildWorkingDirectory(Key key)
Returns the working directory for the plan.
|
Path |
getServerSideTaskWorkingDirectory(BuildDirectoryManager.ServerSideTaskType taskType)
Returns the directory used by server-side tasks of specific type.
|
File |
getServerSideTaskWorkingDirectory(ResultKey resultKey)
Returns the directory used by server-side tasks, e.g.
|
File |
getWorkingDirectoryOfCurrentAgent() |
@NotNull File getBuildWorkingDirectory(@NotNull Key key)
key@return
- @Nullable File getWorkingDirectoryOfCurrentAgent()
File getApplicationHome()
File getBaseBuildWorkingDirectory()
String getAgentPathPrefix(ExecutableBuildAgent buildAgent)
@NotNull File getServerSideTaskWorkingDirectory(@NotNull ResultKey resultKey)
resultKey@return
- UnsupportedOperationException
- if called on remote agent@NotNull Path getServerSideTaskWorkingDirectory(@NotNull BuildDirectoryManager.ServerSideTaskType taskType)
taskType
- @returnUnsupportedOperationException
- if called on remote agentCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.