How can I change the location where jenkins store temp data in its slaves. Currently, it shuts down the connection to my slaves because it complains about the following

Disk space is too low. Only 0.119GB left on /tmp.

I want to move the tmpdir location to something like /var/tmp/ instead of /tmp. How can I do that?

Edit
Report