Package com.atlassian.bamboo.testutils
Class RepositoryHelper
java.lang.Object
com.atlassian.bamboo.testutils.RepositoryHelper
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertCommandResultSuccessful(RepositoryHelper.CommandResult commandResult) static Stringstatic StringgetCommitComment(String issueKey) static @NotNull RepositoryHelper.CommandResultrunCommand(File dir, String... args) static @NotNull RepositoryHelper.CommandResultrunCommand(Path dir, String... args) static @NotNull RepositoryHelper.CommandResultrunCommandExplosively(File cwd, String... args) static voidstatic void
-
Field Details
-
JIRA_PROJECT_KEY
- See Also:
-
JIRA_ISSUE_KEY
- See Also:
-
COMMIT_MESSAGE_CORE
- See Also:
-
-
Method Details
-
getCommitComment
-
getCommitComment
-
touchFile
- Throws:
IOException
-
touchFile
- Throws:
IOException
-
runCommand
@NotNull public static @NotNull RepositoryHelper.CommandResult runCommand(Path dir, String... args) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
runCommand
@NotNull public static @NotNull RepositoryHelper.CommandResult runCommand(File dir, String... args) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
runCommandExplosively
@NotNull public static @NotNull RepositoryHelper.CommandResult runCommandExplosively(File cwd, String... args) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
assertCommandResultSuccessful
-