Hi,
I've installed s3copyartifact and S3BucketPublisher, i am trying to use s3copyartifact but i can't find any example any where.
Lets say, on a earlier build (lets say build #23), i published an artifact to a s3 bucket, using this:
step([$class: 'S3BucketPublisher', entries: [[
sourceFile: "**/*.zip",
bucket: "my-builds",
selectedRegion: 'us-east-1',
noUploadOnFailure: true,
managedArtifacts: true,
flatten: true,
showDirectlyInBrowser: true,
keepForever: true,
]],
profileName: 'myprofile',
dontWaitForConcurrentBuildCompletion: false,
])
On the next build, i want to download build's #23's zip file from bucket: 'my-builds'. How do i do it? Please help
thanks,