On Sun, 26 Jun 2022 at 21:27, Gilles Sadowski <gillese...@gmail.com> wrote:

>
>
> >
> > Strangely I am not receiving emails from GH actions (or jenkins) to
> inform
> > me that the build fails after a commit. There may be a setting for the GH
> > actions that is missing to enable e-mail to the committer after a build
> > failure.
>
> I also did not see the failure until trying a local build of [Math].
> Isn't it related to the fact that such test failures entail that the build
> is tagged as "unstable" rather than "failed"?
>

For GH actions I think we can add this to the .asf.yaml [1,2]:

notifications:
  jobs:   dev@commons.apache.org

I am not sure if we should try this with dev@ or use another e-mail list.


For Jenkins the post build editable e-mail notification section had
'Disable Extended Email Publisher' selected. I have unchecked this box (as
per the RNG config); we will wait to see if it now sends emails on a build
error. Note that statistics and math also have this setting unchecked.
Geometry has the setting checked (perhaps it should be updated).

However this may not be the setting to fix this since it was not checked in
the math config and math had a recent build failure after it was triggered
by a change in numbers. The email is targeted at the developer who created
the commit. So the math build failure should have been sent to me since I
have the most recent commit on master. But I received no email. The math
build is logged as a failed build but the log output shows that maven still
completes remaining modules and uploads the SNAPSHOT artifacts.

Also note that the Jenkins build for numbers continues to deploy all
modules after a module has failed tests (see [3] for the failed build after
the offending commit). So there is something in the Jenkins setup that is
ignoring test failures and continuing with the build to deploy artifacts
from all the modules.

Alex

[1]
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-GitHubActionsbuildstatusemails
[2]
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-Notificationsettingsforrepositories
[3] https://ci-builds.apache.org/job/Commons/job/commons-numbers/150/

Reply via email to