Process
The process element is used to apply a post-processor to an artifact. It can be applied to command output, file artifacts and directory artifacts. In the case of directory artifacts, the processor is applied to each file within the directory that is captured.
Attributes
| Attribute |
Description |
Required? |
Default |
| processor |
A reference to the processor to apply. |
Yes |
|
Child Elements
None.
Examples
Apply a JUnit post-processor to some captured JUnit test reports:
<junit.pp name="junit"/>
<recipe name="default">
<command name="build">
<ant targets="build.all"/>
<dir-artifact name="junit xml reports" base="build/reports/junit">
<process processor="${junit}"/>
</artifact>
</command>
</recipe>