public class TestlabNotifier
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
TestlabNotifier.AdvancedSettings
Optional job config block for advanced settings.
|
static class |
TestlabNotifier.Cors
Optional config block for CORS settings.
|
static class |
TestlabNotifier.DescriptorImpl |
static class |
TestlabNotifier.IssuesSettings
Optional job config block for issues.
|
static class |
TestlabNotifier.Usingonpremise
Optional job config block for on-premise settings.
|
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
TestlabNotifier(String projectKey,
String testRunTitle,
String testTargetTitle,
String testEnvironmentTitle,
TestlabNotifier.IssuesSettings issuesSettings,
TestlabNotifier.AdvancedSettings advancedSettings)
This annotation tells Hudson to call this constructor, with
values from the configuration form page with matching parameter names.
|
| Modifier and Type | Method and Description |
|---|---|
TestlabNotifier.AdvancedSettings |
getAdvancedSettings() |
String |
getApiKey() |
String |
getAssignToUser() |
String |
getCompanyId() |
TestlabNotifier.DescriptorImpl |
getDescriptor() |
TestlabNotifier.IssuesSettings |
getIssuesSettings() |
String |
getProjectKey() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Declares the scope of the synchronization monitor this
BuildStep expects from outside. |
String |
getTestCaseMappingField() |
String |
getTestEnvironmentTitle() |
String |
getTestRunTitle() |
String |
getTestTargetTitle() |
TestlabNotifier.Usingonpremise |
getUsingonpremise() |
static boolean |
isBlank(String s) |
boolean |
isMergeAsSingleIssue() |
boolean |
isReopenExisting() |
boolean |
needsToRunAfterFinalized()
Return true if this
Publisher needs to run after the build result is
fully finalized. |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Runs the step over the given build and reports the progress to the listener.
|
String |
toString() |
getProjectAction, getProjectActions, perform, prebuild@DataBoundConstructor public TestlabNotifier(String projectKey, String testRunTitle, String testTargetTitle, String testEnvironmentTitle, TestlabNotifier.IssuesSettings issuesSettings, TestlabNotifier.AdvancedSettings advancedSettings)
public String getProjectKey()
public String getTestRunTitle()
public String getTestTargetTitle()
public String getTestEnvironmentTitle()
public TestlabNotifier.IssuesSettings getIssuesSettings()
public boolean isMergeAsSingleIssue()
public String getAssignToUser()
public boolean isReopenExisting()
public TestlabNotifier.AdvancedSettings getAdvancedSettings()
public String getCompanyId()
public String getApiKey()
public String getTestCaseMappingField()
public TestlabNotifier.Usingonpremise getUsingonpremise()
public boolean needsToRunAfterFinalized()
Publisher needs to run after the build result is
fully finalized.
The execution of normal Publishers are considered within a part
of the build. This allows publishers to mark the build as a failure, or
to include their execution time in the total build time.
So normally, that is the preferrable behavior, but in a few cases
this is problematic. One of such cases is when a publisher needs to
trigger other builds, which in turn need to see this build as a
completed build. Those plugins that need to do this can return true
from this method, so that the perform(hudson.model.AbstractBuild, hudson.Launcher, hudson.model.BuildListener)
method is called after the build is marked as completed.
When Publisher behaves this way, note that they can no longer
change the build status anymore.needsToRunAfterFinalized in class hudson.tasks.Publisherpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
BuildStep expects from outside.public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerbuild - launcher - listener - InterruptedExceptionIOExceptionpublic TestlabNotifier.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifierpublic static boolean isBlank(String s)
Copyright © 2004-2014. All Rights Reserved.