mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
build: Extend autobuild diagnostics by the username
* m4/autobuild.m4 (AB_INIT): Add username. -- The old autobuild diagnostics show up in build logs. What they are missing is an information on the user who triggered a build. EMAIL is a common thing to denote the actual user using a service account.
This commit is contained in:
parent
606933dfb4
commit
956b1e1c26
@ -23,6 +23,9 @@ AC_DEFUN([AB_INIT],
|
|||||||
if test "$hostname"; then
|
if test "$hostname"; then
|
||||||
AC_MSG_NOTICE([autobuild hostname... $hostname])
|
AC_MSG_NOTICE([autobuild hostname... $hostname])
|
||||||
fi
|
fi
|
||||||
|
if test "$EMAIL"; then
|
||||||
|
AC_MSG_NOTICE([autobuild username... $EMAIL])
|
||||||
|
fi
|
||||||
ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])])
|
ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])])
|
||||||
date=`date +%Y%m%d-%H%M%S`
|
date=`date +%Y%m%d-%H%M%S`
|
||||||
if test "$?" != 0; then
|
if test "$?" != 0; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user