@PublicApi
public interface BuildDirectoryManager
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.
|
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 agentCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.