public class JiraTestDataPublisher
extends hudson.tasks.junit.TestDataPublisher
| Modifier and Type | Class and Description |
|---|---|
static class |
JiraTestDataPublisher.JiraTestDataPublisherDescriptor |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
| Constructor and Description |
|---|
JiraTestDataPublisher(List<AbstractFields> configs,
String projectKey,
String issueType,
boolean autoRaiseIssue,
boolean autoResolveIssue)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
hudson.tasks.junit.TestResultAction.Data |
contributeTestData(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.tasks.junit.TestResult testResult)
Method invoked for contributing data to this run, see Jenkins documentation for details about arguments
|
boolean |
getAutoRaiseIssue() |
boolean |
getAutoResolveIssue() |
List<AbstractFields> |
getConfigs()
Getter for the configured fields
|
JiraTestDataPublisher.JiraTestDataPublisherDescriptor |
getDescriptor()
Getter for the Descriptor
|
long |
getIssueType()
Getter for the default issue type
|
String |
getJiraUrl()
Getter for the jira url, called from config.jelly to determine if the global configurations were done
|
String |
getProjectKey()
Getter for the project key
|
public static final boolean DEBUG
@DataBoundConstructor public JiraTestDataPublisher(List<AbstractFields> configs, String projectKey, String issueType, boolean autoRaiseIssue, boolean autoResolveIssue)
configs - a list with the configured fieldsprojectKey - issueType - public List<AbstractFields> getConfigs()
public long getIssueType()
public String getProjectKey()
public boolean getAutoRaiseIssue()
public boolean getAutoResolveIssue()
public hudson.tasks.junit.TestResultAction.Data contributeTestData(hudson.model.Run<?,?> run,
@Nonnull
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.tasks.junit.TestResult testResult)
throws IOException,
InterruptedException
contributeTestData in class hudson.tasks.junit.TestDataPublisherrun - workspace - launcher - listener - testResult - IOExceptionInterruptedExceptionpublic JiraTestDataPublisher.JiraTestDataPublisherDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.junit.TestDataPublisher>getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.junit.TestDataPublisher>public String getJiraUrl()
Copyright © 2016. All rights reserved.