# Parameterization on cleanWs

**URL:** <https://community.jenkins.io/t/parameterization-on-cleanws/10861>\
**Category:** Ask a question\
**Created:** [November 21, 2023, 1:28pm UTC](https://community.jenkins.io/t/parameterization-on-cleanws/10861 "2023-11-21T13:28:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nazuths](https://avatars.discourse-cdn.com/v4/letter/n/848f3c/32.png) [@nazuths](https://community.jenkins.io/u/nazuths)\
**Post date:** [November 21, 2023, 1:28pm UTC](https://community.jenkins.io/t/parameterization-on-cleanws/10861/1 "2023-11-21T13:28:41Z")

</div>

I have made a Jenkins project where I have multiple versions to build, I am using the “Delete workspace before build starts” functionality in which I would like to use the String Parameter ‘VERSIE’ to clean up only the workspace folder associated with this parameter value.

I have added an image to this topic illustrating what I am doing now, however this does not work.

Help would be appreciated, thanks in advance

 ![Parameterization](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/a/a143519aac5ad5a3ec94ad2744058267fcc92f13.png)

---

<div class="post-metadata">

**Author:** ![mawinter69](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/mawinter69/32/1625_2.png) [@mawinter69](https://community.jenkins.io/u/mawinter69)\
**Post date:** [November 21, 2023, 2:59pm UTC](https://community.jenkins.io/t/parameterization-on-cleanws/10861/2 "2023-11-21T14:59:00Z")

</div>

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
