Skip to content

Send the report emails to extra addresses - #394

Merged
adrpo merged 1 commit into
OpenModelica:masterfrom
adrpo:extra-emails
Nov 5, 2026
Merged

adrpo merged 1 commit into
OpenModelica:masterfrom
adrpo:extra-emails

Conversation

@adrpo

@adrpo adrpo commented Nov 5, 2026

Copy link
Copy Markdown
Member

Related Issues

Fixes #393.

Purpose

The report emails go only to openmodelicabuilds@ida.liu.se and to the authors of the OpenModelica commits in each report. This adds a way to send them to other addresses too.

Approach

  • New job parameter extraEmails: a space separated list of addresses. Empty by default, which changes nothing.
  • all-reports.py gets --extra-emails. It adds each address that contains @ to the recipients of every report it generates. As for the other recipients, a report is sent only if it has improvements or regressions.
  • The report stage passes the parameter as --extra-emails="$extraEmails". The shell takes the value from the environment, so the value is not part of the command.

Testing

  • python3 -m py_compile all-reports.py passes.
  • The argument parsing was checked: "a@x.org b@y.se junk" gives a@x.org and b@y.se, and an empty value gives no addresses.
  • Not run in Jenkins.

An AI agent (Claude Code) wrote this change.


🤖 Generated with Claude Code

Add the job parameter extraEmails, a space separated list of email
addresses. all-reports.py takes it as --extra-emails and adds these
addresses to the recipients of every report, next to
openmodelicabuilds and the commit authors.

Fixes OpenModelica#393.

Assisted-by: Claude Opus 5.5
@adrpo adrpo self-assigned this Nov 5, 2026
@adrpo
adrpo merged commit 7dac3c2 into OpenModelica:master Nov 5, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send the report emails to extra addresses

1 participant