Jenkins用paramater清理工作区目录

时间:2016-08-05 18:40:38

标签: jenkins parameters workspace

我正在尝试从工作区删除特定目录并使用构建参数,但该目录未被删除。如果我使用文字值,它会删除。

Under
Delete workspace before build starts > 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.

0 个答案:

没有答案