-
Bug
-
Resolution: Unresolved
-
Minor
-
None
When I use s3CopyArtifact with buildSelector as lastWithArtifacts the method apparently the selector returns the latest build number that got some artifact on the disk and no artifact on S3. It should solely check if there is any artifact in S3 and return the latest build number that has at least one artifact in S3.
The s3 plugin is not implementing an artifact manager. Due to this the lastWithArtifacts build selector will not work as expected.
You should look into using the artifact-manager-s3 plugin. This is a real artifact manager and works as a replacement for the normal artifact manager with when using the default archiveArtifacts step.