Oct 4, 2021
Couple of questions
1. Is your bucket versioned ?
2. Are you able to run this command from your jenkins agent or in a seperate job ? `/usr/local/bin/aws s3api list-object-versions --bucket <your bucket> --prefix <your file> --max-items %d`