Setting stable is not an available enum value, so you fall back to FAILURE I guess. If you set success, make sure you make it case sensitive
currentBuild.result = 'SUCCESS' [image: bodycad] <https://www.bodycad.com/> Jerome Godbout Software Developer 2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7 T: +1 418 527-1388 E: [email protected] www.bodycad.com The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Le contenu de ce message et les pièces jointes sont destinés uniquement pour le(s) destinataire(s) et peuvent contenir des informations confidentielles et / ou privilégiées qui peuvent être protégées légalement contre toute divulgation. Si vous n'êtes pas le destinataire de ce message ou son agent, ou si ce message vous a été adressé par erreur, s’il vous plaît avertir immédiatement l'expéditeur par courriel de réponse, puis supprimer ce message et les pièces jointes. Si vous n'êtes pas le destinataire prévu, vous êtes par la présente informé que toute utilisation, diffusion, copie, ou stockage de ce message ou de ses pièces jointes est strictement interdit. On Tue, Mar 28, 2017 at 1:05 PM, Tomas Pekarovic <[email protected]> wrote: > Question is why when i set 'success' nothing happen. If I set 'stab'e, it > will recolor all the pipeline steps to GREEN and after that result of > build is 'FAILURE' > > On Tue, Mar 28, 2017 at 6:52 PM, <[email protected]> wrote: > >> Take care the currentBuild.result will be unset if successful up to that >> point. There's no 'STABLE' >> >> 'SUCCESS' >> 'UNSTABLE' >> 'FAILURE' >> 'ABORTED' >> 'NOT_BUILT' >> >> http://javadoc.jenkins-ci.org/hudson/model/Result.html >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Jenkins Users" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/jenkinsci-users/r35UO_Ji4c8/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/jenkinsci-users/81762c79-b462-4839-b7b3-13eea7ef884c% >> 40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/81762c79-b462-4839-b7b3-13eea7ef884c%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/jenkinsci-users/r35UO_Ji4c8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/CAKokUHCu0WEcTjCBKqg3-2Nd6% > 3DRr1DkfeBQhaqkon5Gt-Rv2dw%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAKokUHCu0WEcTjCBKqg3-2Nd6%3DRr1DkfeBQhaqkon5Gt-Rv2dw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAKmu%2Be09e%3DuN9p%3DLg7sPR6efW%2B9gy%2B%3D%2By75KmVAgOcUdbWRF5w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
