Just in case anyone was wondering... I found a much easier way to take care
of my problem.

In JobA, trigger a blocked JobB.  If JobB failed, then set JobA as unstable.
Now within JobA, if it is unstable, send out an email with the committers.
 No need to send any changes info down into JobB or anything.

Mondays are much better than Fridays.



On Thu, Jun 6, 2013 at 12:33 AM, Mishael Kim <[email protected]> wrote:

> Hi All,
>
> I'd like to send emails to committers whenever my Test job has failed.
>  This Test job is downstream of a Build job that has all of the changelog
> and committers information.
>
> Just some background of my setup, Build job and Test job both use the same
> workspace.  The Build job triggers the Test job using the Parameterized
> Trigger using the blocking the job until triggered is finished option.  In
> a quick summary, I only want to notify the committers when the Tests run
> and fail, and not when the Builds fail.
>
> I've tried a couple methods, and I'm in need of some help.  I'd love to
> get some of your suggestions if you have been able to set this up properly.
>
> 1.  Blame Upstream Committers plugin - I linked the two jobs together
> using an archived and fingerprinted file that is static in the workspace.
>  I added the post-build action "Mail upstream committers when build fails"
> before my Editable Email Notification post-build action.  The committers
> don't seem to be receiving emails on failures.
>
> 2.  Promote Builds Plugin - within the Build job, I used the option
> "Promote: when the following downstream projects build successfully (and
> also trigger when unstable)", and under actions I added the Editable Email
> Notification.  The Build job seem to get promoted after the Test job
> finishes without any issues, but no emails are getting sent to the
> committers.
>
> Am I doing something obviously wrong and stupid with either of these
> plugins?
> Is there another simplier/cleaner way to get this done without these
> plugins?
>
> -mishael
>
> --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to