The /tmp directory on our master and/or slave (depending on where the build is run) is being filled up with files such as the examples below.
init-artifactory8251121422779630554gradle buildInfo4555888004620870892.properties
Shouldn't gradle be cleaning up after itself?
Are you sure this issue is caused by the Gradle plugin? The two files sound more like the Artifactory plugin (for Gradle and/or Jenkins). What are you using?
Pretty sure this is from the Artifactory Plugin. I changed the Assignee accordingly. See also https://issues.jenkins-ci.org/browse/JENKINS-40035
We are using the Artifactory 2.4.7 plug-in. I haven't been able to find anything in the plug-in documentation or anywhere else about these two files.