UploadIndexFile_Jenkinsfile.run() UploadIndexFile_Jenkinsfile.pipeline(groovy.lang.Closure) UploadIndexFile_Jenkinsfile.echo(Executing on agent [label:none]) UploadIndexFile_Jenkinsfile.stage(uploadIndexFile, groovy.lang.Closure) UploadIndexFile_Jenkinsfile.script(groovy.lang.Closure) UploadIndexFile_Jenkinsfile.uploadIndexFile({indexFilePath=test}) uploadIndexFile.writeJSON({file=index.json, json={latest=123}}) uploadIndexFile.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) uploadIndexFile.withCredentials([ARTIFACT_BUCKET_NAME], groovy.lang.Closure) uploadIndexFile.echo(Uploading index.json to s3://ARTIFACT_BUCKET_NAME/test) uploadIndexFile.uploadToS3({sourcePath=index.json, bucket=ARTIFACT_BUCKET_NAME, path=test/index.json}) uploadToS3.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) uploadToS3.withCredentials([AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) uploadToS3.withAWS({role=opensearch-bundle, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) uploadToS3.s3Upload({file=index.json, bucket=ARTIFACT_BUCKET_NAME, path=test/index.json})