I am using following Jenkinsfile to return the contents of a specific folder in S3.
stage(\'List bucket contents\') { steps { script