public class RepositoryHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RepositoryHelper.CommandResult |
Modifier and Type | Field and Description |
---|---|
static String |
COMMIT_MESSAGE_CORE |
static String |
JIRA_ISSUE_KEY |
static String |
JIRA_PROJECT_KEY |
Modifier and Type | Method and Description |
---|---|
static void |
assertCommandResultSuccessful(RepositoryHelper.CommandResult commandResult) |
static String |
getCommitComment() |
static String |
getCommitComment(String issueKey) |
static RepositoryHelper.CommandResult |
runCommand(String[] args,
File dir) |
static void |
touchFile(File fileToTouch) |
public static final String JIRA_PROJECT_KEY
public static final String JIRA_ISSUE_KEY
public static final String COMMIT_MESSAGE_CORE
public static String getCommitComment()
public static void touchFile(File fileToTouch) throws IOException
IOException
public static RepositoryHelper.CommandResult runCommand(String[] args, File dir) throws IOException, InterruptedException
IOException
InterruptedException
public static void assertCommandResultSuccessful(RepositoryHelper.CommandResult commandResult)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.