public class SvnRepositoryHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PATH_TO_TOUCH |
static String |
SVN_TEST_LOGIN_NAME |
static String |
SVN_TEST_LOGIN_PW |
Constructor and Description |
---|
SvnRepositoryHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
doFullCheckout(String repository,
File checkoutDir) |
static void |
lockSvnFastBuild(String planKey,
String bambooHome)
For the given plan creates a SVN lock by trying to commit a file and aborting immediately.
|
static void |
touchSvnBuild(String repositoryRoot,
String subpath,
String commitComment) |
static void |
touchSvnBuild(String repositoryRoot,
String subpath,
String commitComment,
String pathToTouch) |
static void |
touchSvnBuild(String repositoryRoot,
String branchPath,
String commitComment,
String pathToTouch,
String svnUsername,
String svnPassword) |
static void |
touchSvnFastBuild(String repositoryRoot)
Updates the build.xml file in the /testBuild/fastBuild sub dir (adding a space) and checks it in with default
comment
|
static void |
touchSvnFastBuild(String repositoryRoot,
String commitComment)
Updates the build.xml file in the /fastBuild sub dir (adding a space) and checks it in
|
static void |
touchSvnFastBuild(String repositoryRoot,
String commitComment,
String pathToTouch)
Updates a file in the /fastBuild sub dir and checks it in
|
static void |
touchSvnFastBuild(String repositoryRoot,
String commitComment,
String pathToTouch,
String svnUsername,
String svnPassword)
Updates a file in the /fastBuild sub dir and checks it in
|
static void |
touchSvnLongBuild(String repositoryRoot) |
static void |
touchSvnLongBuild(String repositoryRoot,
String commitContent) |
public static final String PATH_TO_TOUCH
public static final String SVN_TEST_LOGIN_NAME
public static final String SVN_TEST_LOGIN_PW
public static void touchSvnFastBuild(String repositoryRoot) throws IOException, InterruptedException
repositoryRoot
- IOException
InterruptedException
public static void touchSvnFastBuild(String repositoryRoot, String commitComment) throws IOException, InterruptedException
repositoryRoot
- commitComment
- @throws IOExceptionIOException
InterruptedException
public static void touchSvnFastBuild(String repositoryRoot, String commitComment, String pathToTouch) throws IOException, InterruptedException
commitComment
- pathToTouch
- - the path (file) to update.IOException
InterruptedException
public static void touchSvnFastBuild(String repositoryRoot, String commitComment, String pathToTouch, String svnUsername, String svnPassword) throws IOException, InterruptedException
commitComment
- pathToTouch
- - the path (file) to update.IOException
InterruptedException
public static void touchSvnBuild(String repositoryRoot, String subpath, String commitComment) throws IOException, InterruptedException
IOException
InterruptedException
public static void touchSvnBuild(String repositoryRoot, String subpath, String commitComment, String pathToTouch) throws IOException, InterruptedException
IOException
InterruptedException
public static void touchSvnBuild(String repositoryRoot, String branchPath, String commitComment, String pathToTouch, String svnUsername, String svnPassword) throws IOException, InterruptedException
IOException
InterruptedException
public static void doFullCheckout(String repository, File checkoutDir) throws IOException, InterruptedException
IOException
InterruptedException
public static void touchSvnLongBuild(String repositoryRoot, String commitContent) throws IOException, InterruptedException
IOException
InterruptedException
public static void touchSvnLongBuild(String repositoryRoot) throws IOException, InterruptedException
IOException
InterruptedException
public static void lockSvnFastBuild(String planKey, String bambooHome) throws IOException
planKey
- bambooHome
- IOException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.