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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?