JENKINS-17508 fix for artifacts not being deleted by LogRotator

previous pull request had merge issues according to jenkins, but it's not behind anything