Jobs are failing when /tmp/tomcat7-tomcat7-tmp does not exist

5 views
Skip to first unread message

Miguel Almeida

unread,
Apr 2, 2018, 5:12:43 AM4/2/18
to jenkins...@googlegroups.com
I have been running Jenkins for a long time now.
However, since a couple of days ago my jobs (freestyle maven, mostly) start failing after a few runs.

This is one of the failing logs:

I upgraded to  Jenkins ver. 2.107.1 just to ensure this was not related to the LTS version I was using. I am running Jenkins in Tomcat

Upon investigating, it seems that the job is failing to create the settings.xml file in the temporary folder (/tmp/tomcat7-tomcat7-tmp).
If I manually re-create the directory in the server, the jobs start working again.

What is strange about this is that:
1. There was no recent change in the server (e.g. that would start deleting the /tmp/tomcat7-tomcat7-tmp folder from time to time)
2. The server does not shutdown (which could explain the deletion of the directory)

Do you have any suggestion on:
1. What could be causing this
2. How to prevent it from happening

Cheers,
Miguel
Reply all
Reply to author
Forward
0 new messages