Deleting Jenkins jobs through GUI does not delete their workspaces in slaves

后端 未结 4 1354
日久生厌
日久生厌 2021-02-19 16:57

I recently deleted 2 job from Jenkins (via GUI). When I log into slaves afterwards I still see workspace of those 2 jobs lying around. Is this behavior normal?

Notes:

4条回答
  •  佛祖请我去吃肉
    2021-02-19 17:22

    I came across an effective script that does a good job of only cleaning when disk space gets low and brings the slave offline: https://gist.github.com/rb2k/8372402

提交回复
热议问题