Class SMBContainer
java.lang.Object
org.jenkinsci.test.acceptance.docker.DockerContainer
org.jenkinsci.test.acceptance.docker.fixtures.SMBContainer
- All Implemented Interfaces:
Closeable
,AutoCloseable
,IPasswordDockerContainer
public class SMBContainer
extends org.jenkinsci.test.acceptance.docker.DockerContainer
implements IPasswordDockerContainer
Represents a server with SMB.
- Author:
- Tobias Meyer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the samba password of the samba user on the docker serverGets the username of the samba user on the docker serverMethods 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
-
Constructor Details
-
SMBContainer
public SMBContainer()
-
-
Method Details
-
getPassword
Gets the samba password of the samba user on the docker server- Specified by:
getPassword
in interfaceIPasswordDockerContainer
- Returns:
- Samba password
-
getUsername
Gets the username of the samba user on the docker server- Specified by:
getUsername
in interfaceIPasswordDockerContainer
- Returns:
- Samba username
-