You should really add a test to make sure that branch jobs that are less than 30 days old are not deleted.
Also it seems weird that you set the date to 30 days, and the sql expects < 30 days, not <=. Is there a commit somewhere? That should at least be commented.
Hi Paul,
You should really add a test to make sure that branch jobs that are less than 30 days old are not deleted.
Also it seems weird that you set the date to 30 days, and the sql expects < 30 days, not <=. Is there a commit somewhere? That should at least be commented.