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