#!/bin/sh
/usr/bin/aws s3 sync /var/jenkins_home s3://$S3_BUCKET --sse AES256

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

Delete files no longer on the Jenkins box
Delete files no longer on the Jenkins box
