Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: core
Created: 12/Jul/13 9:46 PM
Description:

The following code will throw an unsupported operation.

FreeStyleBuild mock = Mockito.mock(FreeStyleBuild.class,Mockito.CALLS_REAL_METHODS);		
ArtifactArchiver artifactArchiver = new ArtifactArchiver("", "", true);
artifactArchiver.perform(mock, null, null);

I came across the issue when trying to call the ArtifactArchiver via the groovy plugin on a MatrixRun build.

The BuildStepCompatibilityLayer should check if the implementing BuildStep provides an implementation of the {perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)}

Project: Jenkins
Labels: build
Priority: Major Major
Reporter: Brendan Nolan
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to