How to best clean up @script directories from using Pipeline

32 views
Skip to first unread message

Leon Poon

unread,
Aug 23, 2016, 4:51:21 PM8/23/16
to Jenkins Users
We are starting to use the Pipeline plugin, and we noticed that it creates additional "<job name>@script" directories that do not get deleted automatically even when the jobs are deleted. What is the best approach to clean up these directories? I tried adding the following "step ([$class: 'WsCleanup'])" as the last step in Jenkinsfile, but the @script directories are still not cleaned up. Any recommendations?
Reply all
Reply to author
Forward
0 new messages