Class GitLabContainer
java.lang.Object
org.jenkinsci.test.acceptance.docker.DockerContainer
org.jenkinsci.test.acceptance.docker.fixtures.GitLabContainer
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class GitLabContainer
extends org.jenkinsci.test.acceptance.docker.DockerContainer
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.jenkinsci.test.acceptance.docker.DockerContainer
assertRunning, close, cp, getCid, getIpAddress, getLogfile, getPid, inspect, ipBound, ipUdpBound, ipv6Enabled, port, resource, sharingHostDockerService, toString, udpPort
-
Field Details
-
REPO_DIR
- See Also:
-
-
Constructor Details
-
GitLabContainer
public GitLabContainer()
-
-
Method Details
-
host
-
sshPort
public int sshPort() -
httpPort
public int httpPort() -
httpHost
-
getURL
- Throws:
IOException
-
getHttpUrl
- Throws:
IOException
-
getRepoUrl
URL visible from the host. -
waitForReady
-
createRepo
- Throws:
RuntimeException
-
deleteRepo
public void deleteRepo(String token, String repoName) throws IOException, org.gitlab4j.api.GitLabApiException - Throws:
IOException
org.gitlab4j.api.GitLabApiException
-
createUserToken
public String createUserToken(String userName, String password, String email, String isAdmin) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-