public class JiraTestDataPublisher extends hudson.tasks.junit.TestDataPublisher
Modifier and Type | Class and Description |
---|---|
static class |
JiraTestDataPublisher.JiraTestDataPublisherDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG |
Constructor and Description |
---|
JiraTestDataPublisher(List<AbstractFields> configs,
String projectKey,
String issueType,
boolean autoRaiseIssue,
boolean autoResolveIssue,
boolean autoUnlinkIssue,
boolean overrideResolvedIssues)
Constructor
|
Modifier and Type | Method and Description |
---|---|
hudson.tasks.junit.TestResultAction.Data |
contributeTestData(Run<?,?> run,
FilePath workspace,
Launcher launcher,
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() |
boolean |
getAutoUnlinkIssue() |
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
|
all, getTestData
public static final boolean DEBUG
@DataBoundConstructor public JiraTestDataPublisher(List<AbstractFields> configs, String projectKey, String issueType, boolean autoRaiseIssue, boolean autoResolveIssue, boolean autoUnlinkIssue, boolean overrideResolvedIssues)
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 boolean getAutoUnlinkIssue()
public hudson.tasks.junit.TestResultAction.Data contributeTestData(Run<?,?> run, @Nonnull FilePath workspace, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult) throws IOException, InterruptedException
contributeTestData
in class hudson.tasks.junit.TestDataPublisher
run
- workspace
- launcher
- listener
- testResult
- IOException
InterruptedException
public JiraTestDataPublisher.JiraTestDataPublisherDescriptor getDescriptor()
getDescriptor
in interface Describable<hudson.tasks.junit.TestDataPublisher>
getDescriptor
in class AbstractDescribableImpl<hudson.tasks.junit.TestDataPublisher>
public String getJiraUrl()
Copyright © 2016–2024. All rights reserved.