if [ -n "$S3_BUCKET" ]; then
  /usr/local/bin/aws s3 sync /var/jenkins_home s3://$S3_BUCKET --sse AES256 --debug
fi

/usr/local/bin/aws s3 sync /var/jenkins_home s3://$S3_BUCKET --sse AES256 --debug

Remove redunant s3 if check
Remove redunant s3 if check
