-
Bug
-
Resolution: Fixed
-
Minor
-
None
On servers uses this plugin we can find in the temp directory many files and directories named appFile*
221M appFile1311342967361766113 142M appFile1311342967361766113.tmp 221M appFile3926862658633267926 142M appFile3926862658633267926.tmp 221M appFile6027577229511647089 142M appFile6027577229511647089.tmp 221M appFile615741004919888734 142M appFile615741004919888734.tmp 0 appFile6317999106758880385 4.0K appFile6317999106758880385.tmp 0 appFile6350568580474664640 4.0K appFile6350568580474664640.tmp 221M appFile6513370571794691010 142M appFile6513370571794691010.tmp 221M appFile9199362560582974984 142M appFile9199362560582974984.tmp
It can quickly increase if you don't restart often the master and you do a lot of deployments
These files and directories aren't deleted before jenkins restart because of these line
- https://github.com/jenkinsci/cloudfoundry/blob/master/src/main/java/com/activestate/cloudfoundryjenkins/CloudFoundryPushPublisher.java#L376
- https://github.com/jenkinsci/cloudfoundry/blob/master/src/main/java/com/activestate/cloudfoundryjenkins/CloudFoundryPushPublisher.java#L383
".deleteOnExit()" will be called only when Jenkins is stopped.
if "client.uploadApplication" is synchroneous the file or the directory should be deleted after it.