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

后端 未结 4 1370
日久生厌
日久生厌 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:14

    Unfortunately it is: https://groups.google.com/forum/#!topic/jenkinsci-users/SiZ3DL-UJ-8

    Workspaces found on slaves are not deleted because this is a non-trivial problem (it would mean that jobs would need to record every slave the job has ever been executed on and it would also have to take into account slaves that are offline, for a real thorough solution).

提交回复
热议问题