-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.46.1
Copy Artifact Plugin 1.38.1
promoted builds plugin 2.28.1
I specified permalink with promotion name to copy artifact from. It seems that the copy artifact plugin always copies artifacts from the latest promotion even if it failed, but what I want is to get artifacts from latest successful promotion, and I couldn't figure out how to do this. The possible solution can be to add ability to specify permalinks like "promotion_name/lastSuccessfulBuild", "promotion_name/lastStableBuild" etc.
Anyway it is unclear why the plugin always uses latest promotion, probably this default behavior should be changed.