I am trying to add this step in Jenkins to download from S3:
//download file from s3 withAWS(credentials:'credss') { s3Download(file:'test.json', bucket:'test', path:'/devops/test.json',force:true) }
I am getting the below ERROR:
java.lang.NoSuchMethodError: No such DSL method 'withAWS' found among steps
Any help will be appreciated!!