We faced to a problem with our Jenkins 1.537 into tomcat7; the tomcat7-tmp is full of war file.
The problem have been put under the light when we started using wall display plug-in.
We found out that it wasn't walldisplay that was causing this; but calls to the REST json api every 20 seconds.
Calls are make on <JENKINS_URL>/job/<JOB_NAME>/api/json
as you can see line 390 of this file : https://github.com/jenkinsci/walldisplay-plugin/blob/master/src/main/webapp/walldisplay.js
The job also publish jar file but only war file is fulling the tomcat temp.
We also see that not only REST api produce this temp war file! View the project page do this too.
What we do not understand is why it's not happening to all job that publish war artifact...
the job using:
- remove old build
- security based on project
- launch on a windows slave
- using Subversion
- publish Checkstyle analysis
- publish PMD analysis
- save artifacts (jar and war using *)
If it's not a bug from Jenkins it may be a tomcat7 configuration error?