Class XUnitTransformerCallable
java.lang.Object
jenkins.MasterToSlaveFileCallable<Integer>
org.jenkinsci.plugins.xunit.service.XUnitTransformerCallable
- All Implemented Interfaces:
FilePath.FileCallable<Integer>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
- See Also:
-
Constructor Summary
ConstructorDescriptionXUnitTransformerCallable
(XUnitReportProcessorService xUnitReportProcessorService, XUnitConversionService xUnitConversionService, XUnitValidationService xUnitValidationService, XUnitToolInfo xUnitToolInfo, XUnitLog xUnitLog) -
Method Summary
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
Constructor Details
-
XUnitTransformerCallable
@Inject public XUnitTransformerCallable(XUnitReportProcessorService xUnitReportProcessorService, XUnitConversionService xUnitConversionService, XUnitValidationService xUnitValidationService, XUnitToolInfo xUnitToolInfo, XUnitLog xUnitLog)
-
-
Method Details
-
invoke
public Integer invoke(File ws, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Invocation- Parameters:
ws
- the Jenkins workspacechannel
- the Jenkins channel- Returns:
- true or false if the conversion fails
- Throws:
IOException
- in case an error occurs during communication with the Jenkins node where this callable is executed.TransformerException
- in case an error occurs when test reports are transformed into JUnit report.InterruptedException
-
getProcessorId
-
setProcessorId
-