Class JiraContainer
java.lang.Object
org.jenkinsci.test.acceptance.docker.DockerContainer
org.jenkinsci.test.acceptance.docker.fixtures.JiraContainer
- All Implemented Interfaces:
 Closeable,AutoCloseable
public class JiraContainer
extends org.jenkinsci.test.acceptance.docker.DockerContainer
- Author:
 - Kohsuke Kawaguchi
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidcreateIssue(String key) voidcreateIssue(String key, String summary, String description) Creates a new issue in JIRAvoidcreateProject(String key) voidcreateProject(String key, String displayName) Creates a project in JIRAList<hudson.plugins.jira.soap.RemoteComment>getComments(String ticket) hudson.plugins.jira.soap.JiraSoapServicegetSvc()getToken()getURL()voidWait until JIRA becomes up and running.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 
- 
Constructor Details
- 
JiraContainer
public JiraContainer() 
 - 
 - 
Method Details
- 
getURL
- Throws:
 MalformedURLException
 - 
waitForReady
Wait until JIRA becomes up and running. - 
createProject
public void createProject(String key, String displayName) throws IOException, javax.xml.rpc.ServiceException Creates a project in JIRA- Parameters:
 key- All caps JIRA project unique key like "JENKINS"displayName- Human readable description.- Throws:
 IOExceptionjavax.xml.rpc.ServiceException
 - 
createProject
- Throws:
 IOExceptionjavax.xml.rpc.ServiceException
 - 
createIssue
public void createIssue(String key, String summary, String description) throws IOException, javax.xml.rpc.ServiceException Creates a new issue in JIRA- Throws:
 IOExceptionjavax.xml.rpc.ServiceException
 - 
createIssue
- Throws:
 IOExceptionjavax.xml.rpc.ServiceException
 - 
getComments
public List<hudson.plugins.jira.soap.RemoteComment> getComments(String ticket) throws IOException, javax.xml.rpc.ServiceException - Throws:
 IOExceptionjavax.xml.rpc.ServiceException
 - 
getSvc
public hudson.plugins.jira.soap.JiraSoapService getSvc() - 
getToken
 
 -