|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.testutils.SvnRepositoryHelper
public class SvnRepositoryHelper
A helper classs that executes some common commands on the Bamboo test module. Dumps various logging to System.out
Field Summary | |
---|---|
static java.lang.String |
PATH_TO_TOUCH
|
static java.lang.String |
SVN_TEST_LOGIN_NAME
|
static java.lang.String |
SVN_TEST_LOGIN_PW
|
Constructor Summary | |
---|---|
SvnRepositoryHelper()
|
Method Summary | |
---|---|
static void |
lockSvnFastBuild(java.lang.String planKey,
java.lang.String bambooHome)
For the given plan creates a SVN lock by trying to commit a file and aborting immediately. |
static void |
touchSvnBuild(java.lang.String repositoryRoot,
java.lang.String subpath,
java.lang.String commitComment,
java.lang.String pathToTouch)
|
static void |
touchSvnFastBuild(java.lang.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(java.lang.String repositoryRoot,
java.lang.String commitComment)
Updates the build.xml file in the /fastBuild sub dir (adding a space) and checks it in |
static void |
touchSvnFastBuild(java.lang.String repositoryRoot,
java.lang.String commitComment,
java.lang.String pathToTouch)
Updates a file in the /fastBuild sub dir and checks it in |
static void |
touchSvnLongBuild(java.lang.String repositoryRoot)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PATH_TO_TOUCH
public static final java.lang.String SVN_TEST_LOGIN_NAME
public static final java.lang.String SVN_TEST_LOGIN_PW
Constructor Detail |
---|
public SvnRepositoryHelper()
Method Detail |
---|
public static void touchSvnFastBuild(java.lang.String repositoryRoot, java.lang.String commitComment) throws java.io.IOException, java.lang.InterruptedException
repositoryRoot
- commitComment
- @throws IOException
java.io.IOException
java.lang.InterruptedException
public static void touchSvnFastBuild(java.lang.String repositoryRoot, java.lang.String commitComment, java.lang.String pathToTouch) throws java.io.IOException, java.lang.InterruptedException
commitComment
- pathToTouch
- - the path (file) to update.
java.io.IOException
java.lang.InterruptedException
public static void touchSvnBuild(java.lang.String repositoryRoot, java.lang.String subpath, java.lang.String commitComment, java.lang.String pathToTouch) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public static void touchSvnLongBuild(java.lang.String repositoryRoot) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public static void touchSvnFastBuild(java.lang.String repositoryRoot) throws java.io.IOException, java.lang.InterruptedException
repositoryRoot
-
java.io.IOException
java.lang.InterruptedException
public static void lockSvnFastBuild(java.lang.String planKey, java.lang.String bambooHome) throws java.io.IOException
planKey
- bambooHome
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |