This build which failed:
https://jenkins.freebsd.org/job/FreeBSD_HEAD/74/flowGraphTable/

uses the same script:

https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/build-test.groovy
<https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/build-test.groovy#L190>

and did not send out mail on failure.  What is going on?

The blog post you referred to is OK for simply sending out e-mail,
but I want to use the logic in the Mailer class, because it has a lot of
good
stuff for sending out e-mails on failures, and when failures turn into
successes.

Thanks.
--
Craig


On Mon, Jan 25, 2016 at 2:32 PM, Tom Fennelly <[email protected]>
wrote:

> Seems like the link is stale. Did you try something like
> https://www.cloudbees.com/blog/mail-step-jenkins-workflow ?
>
> On Thursday, January 7, 2016 at 6:57:31 AM UTC, Craig Rodrigues wrote:
>>
>> Hi,
>>
>> In my workflow script, I try to send out e-mails if the build fails on
>> this line:
>>
>>
>> https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/build-test.groovy#L190
>>
>> In this execution of the workflow, the build clearly failed:
>>
>> https://jenkins.freebsd.org/job/FreeBSD_HEAD_sparc64/19/flowGraphTable/
>>
>> but the step to send out the e-mail did not run.  No e-mails were sent
>> out.
>>
>> Did I structure something wrong in my workflow script?
>> --
>> Craig
>>
>

-- 
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/CAG%3DrPVfOGrGymiGuchtujN4F-dxBj0r4JeQ6%2BT5duyPHtJDK0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to