Affects Version/s: None
Fix Version/s: None
Component/s: Continuous Integration
Documentation and pointers are missing.
It seems that there are some bugs or improvements to fix:
A Jenkins job is missing, or the explanations why crontab is preferred.
The executed files are desynchronized from Git
The Git folder is not pulled before exec
Put the crontab itself under SCM (with reciprocal pointers) and others if missing (/root/clean-containers.py?).
chmod u+x /root/jenkins_workspace_cleanup.sh
Quick fix suggests: MAILTO, overwrite vs append to /var/log/jenkins_workspace_cleanup.log, log /root/clean-containers.py
The script may stop before end if there is no cleanup to perform:
Review and document the logic of /root/clean-containers.py