#!/bin/sh
/usr/bin/aws s3 sync /var/jenkins_home s3://$S3_BUCKET --sse AES256 --delete --exclude "*workspace/*"

#!/bin/sh
/usr/bin/aws s3 sync /var/jenkins_home s3://$S3_BUCKET --sse AES256 --delete --exclude "*workspace/*" --exclude "*lastSuccessful/*" --exclude "*lastStable/*"

Exclude symlinked directories so Jenkins logs don't get spammed
Exclude symlinked directories so Jenkins logs don't get spammed
