Jenkins clean workspace directory with paramater
<p>I'm trying to delete a specific directory from workspace and using a build parameter, but the directory is not being deleted.  It does delete if I use the literal value.</p>

<pre><code>Under
Delete workspace before build starts &gt; Patterns for files to be deleted
Include  **/${WORK_DIR} - Does not work
Include  **/MyDirectoryName - works

I have no problem using ${WORK_DIR} in several other areas in the job.
</code></pre>