de.esailors.jenkins.teststability
Class FixedMavenTestDataPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by hudson.maven.MavenTestDataPublisher
                  extended by de.esailors.jenkins.teststability.FixedMavenTestDataPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class FixedMavenTestDataPublisher
extends hudson.maven.MavenTestDataPublisher

Fixed MavenTestDataPublisher. The standard MavenTestDataPublisher from Jenkins (at least up to 1.520) just doesn't work.

See also https://github.com/jenkinsci/jenkins/pull/810

Author:
ckutz

Nested Class Summary
static class FixedMavenTestDataPublisher.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
FixedMavenTestDataPublisher(hudson.util.DescribableList<hudson.tasks.junit.TestDataPublisher,hudson.model.Descriptor<hudson.tasks.junit.TestDataPublisher>> testDataPublishers)
           
 
Method Summary
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.maven.MavenTestDataPublisher
getRequiredMonitorService, getTestDataPublishers
 
Methods inherited from class hudson.tasks.Recorder
getDescriptor
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, prebuild
 

Constructor Detail

FixedMavenTestDataPublisher

public FixedMavenTestDataPublisher(hudson.util.DescribableList<hudson.tasks.junit.TestDataPublisher,hudson.model.Descriptor<hudson.tasks.junit.TestDataPublisher>> testDataPublishers)
Method Detail

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.maven.MavenTestDataPublisher
Throws:
InterruptedException
IOException


Copyright © 2004-2013. All Rights Reserved.