Gather cron job definitions

Some modules like puppet-nova configure cron jobs to purge deleted
items from database. This change ensures that cron job definitions are
gathered as part of CI results.

Change-Id: Iaab678c1582ac67d890fcba06f7ca3790dc88106
This commit is contained in:
Takashi Kajinami 2021-05-23 22:28:45 +09:00
parent 69ae5c28ef
commit 7e9ad193ad

View File

@ -187,6 +187,10 @@ if [ -d /var/log/audit/ ]; then
sudo cp /var/log/audit/audit.log $LOG_DIR/audit.log.txt || true
fi
if [ -d /var/spool/cron/ ]; then
sudo cp -r /var/spool/cron $LOG_DIR/
fi
if [ -d /tmp/openstack/tempest ]; then
sudo cp /tmp/openstack/tempest/etc/tempest.conf $LOG_DIR/tempest.conf.txt
fi