On Tue, 2023-09-26 at 12:03 +0100, Richard Purdie via lists.yoctoproject.org wrote: > Signed-off-by: Richard Purdie <[email protected]> > --- > scripts/send_qa_email.py | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/scripts/send_qa_email.py b/scripts/send_qa_email.py > index d113377..3d02797 100755 > --- a/scripts/send_qa_email.py > +++ b/scripts/send_qa_email.py > @@ -101,6 +101,9 @@ def send_qa_email(): > parser.add_argument('-r', '--release', > action='store', > help="The build/release 'name' for release purposes > (optional)") > + parser.add_argument('--url', > + action='store', > + help="The url for the build") > > args = parser.parse_args() > > @@ -212,12 +215,13 @@ def send_qa_email(): > email += '''\n > A build flagged for QA (%s) was completed on the autobuilder and is > available at:\n\n > %s\n\n > + Build URL: %s\n > Build hash information: \n > %s > > \nThis is an automated message from the Yocto Project Autobuilder\nGit: > git://git.yoctoproject.org/yocto-autobuilder2\nEmail: > [email protected]\n > > - ''' % (args.release, args.publish_dir.replace(web_root, web_url), > buildhashes) > + ''' % (args.release, args.publish_dir.replace(web_root, web_url), > args.url, buildhashes) > > # Store a copy of the email in case it doesn't reach the lists > with open(os.path.join(args.publish_dir, "qa-email"), "wb") as qa_email:
I've also backported this to other branches for builds we actively use on the autobuilder so we get this benefit on all the QA emails and don't have to make the code inside buildbot conditional. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61128): https://lists.yoctoproject.org/g/yocto/message/61128 Mute This Topic: https://lists.yoctoproject.org/mt/101593068/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
