清理工作空间中的目录
node { dir('aaa') { deleteDir() } }
清理工作空间
node { cleanWs() }
清理文件
node { cleanWs patterns: [[pattern: '*.bak', type: 'INCLUDE'], [pattern: '*.tmp', type: 'INCLUDE']] }
标签:node,Pipeline,pattern,清理,Jenkins,cleanWs From: https://www.cnblogs.com/qianxiaoPro/p/17291895.html