com.soasta.jenkins
Class JunitResultPublisher

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.junit.TestDataPublisher>
      extended by hudson.tasks.junit.TestDataPublisher
          extended by com.soasta.jenkins.JunitResultPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.junit.TestDataPublisher>

public class JunitResultPublisher
extends hudson.tasks.junit.TestDataPublisher


Nested Class Summary
static class JunitResultPublisher.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
JunitResultPublisher(String urlOverride)
          Called by Jenkins when the job is initialized.
 
Method Summary
 JunitResultPublisher.DescriptorImpl getDescriptor()
           
 hudson.tasks.junit.TestResultAction.Data getTestData(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, hudson.tasks.junit.TestResult testResult)
           
 String getUrlOverride()
          Called by Jenkins when rendering the job configuration page.
 
Methods inherited from class hudson.tasks.junit.TestDataPublisher
all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JunitResultPublisher

@DataBoundConstructor
public JunitResultPublisher(String urlOverride)
Called by Jenkins when the job is initialized.

Parameters:
the - URL override setting from the job configuration (can be null).
Method Detail

getUrlOverride

public String getUrlOverride()
Called by Jenkins when rendering the job configuration page.

Returns:
the current URL override (if any).

getTestData

public hudson.tasks.junit.TestResultAction.Data getTestData(hudson.model.AbstractBuild<?,?> build,
                                                            hudson.Launcher launcher,
                                                            hudson.model.BuildListener listener,
                                                            hudson.tasks.junit.TestResult testResult)
                                                     throws IOException
Specified by:
getTestData in class hudson.tasks.junit.TestDataPublisher
Throws:
IOException

getDescriptor

public JunitResultPublisher.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.junit.TestDataPublisher>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.junit.TestDataPublisher>


Copyright © 2004-2014. All Rights Reserved.