Class JiraContainer

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class JiraContainer
    extends org.jenkinsci.test.acceptance.docker.DockerContainer
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • JiraContainer

        public JiraContainer()
    • Method Detail

      • waitForReady

        public void waitForReady​(CapybaraPortingLayer p)
        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:
        IOException
        javax.xml.rpc.ServiceException
      • createProject

        public void createProject​(String key)
                           throws IOException,
                                  javax.xml.rpc.ServiceException
        Throws:
        IOException
        javax.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:
        IOException
        javax.xml.rpc.ServiceException
      • createIssue

        public void createIssue​(String key)
                         throws IOException,
                                javax.xml.rpc.ServiceException
        Throws:
        IOException
        javax.xml.rpc.ServiceException
      • getComments

        public List<hudson.plugins.jira.soap.RemoteComment> getComments​(String ticket)
                                                                 throws IOException,
                                                                        javax.xml.rpc.ServiceException
        Throws:
        IOException
        javax.xml.rpc.ServiceException
      • getSvc

        public hudson.plugins.jira.soap.JiraSoapService getSvc()
      • getToken

        public String getToken()