I´ve tried to use different post processors depending on properties.
For this I've defined two different processors in the pulse webinterface (eg. another.pp and default.pp).
in the pulse file I've tried to use the default values and depending on the reference "another.ppname" (properties) it should use pp1 or pp2:
- Code: Select all
<process processor="$(another.ppname?default.pp)" />
But that doesn't work and I get this error:
Processing element 'process': starting at line 30 column 14: Referenced value '$(another.ppname?default.pp)' has unexpected type (expected 'com.zutubi.pulse.core.postprocessors.api.PostProcessorConfiguration', got 'java.lang.String')
looks like the processor names will be resolved before the filters or default values will be applied?