I think it is not possible. The plugin doesn’t support to replace parameter values at this place.
Look into using a pipeline job for what you’re doing. There it is straightforward to delete a directory based on a parameter
1 Like