Copy Artifacts: Difference between "Latest successful build" with and without "Stable build only" checked?

48 views
Skip to first unread message

Dirk Heinrichs

unread,
Jan 4, 2022, 4:56:12 AM1/4/22
to jenkins...@googlegroups.com
Hi,

as the subject says, what's the exact difference? The documentation doesn't tell.

Thanks...

Dirk
-- 
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

Simon Richter

unread,
Jan 4, 2022, 7:20:08 AM1/4/22
to jenkins...@googlegroups.com
Hi,

On 1/4/22 10:55 AM, 'Dirk Heinrichs' via Jenkins Users wrote:

> as the subject says, what's the exact difference? The documentation
> doesn't tell.

A "successful" build has a result of either STABLE or UNSTABLE, while a
"stable" build needs a result of STABLE.

Typically a test step would notice failing test cases and then demote
the result to UNSTABLE, but artifacts would be archived normally as the
build itself succeeded.

Copy Artifacts then allows you to ignore builds with failing test cases
when selecting the artifact version to copy, but it is up to the
providing project to translate the test status into a build status.

Simon

OpenPGP_signature

Dirk Heinrichs

unread,
Jan 4, 2022, 7:53:27 AM1/4/22
to jenkins...@googlegroups.com
Am Dienstag, dem 04.01.2022 um 13:19 +0100 schrieb Simon Richter:

A "successful" build has a result of either STABLE or UNSTABLE, while a
"stable" build needs a result of STABLE.

Thanks a lot.

Bye...
Reply all
Reply to author
Forward
0 new messages