James Carlson wrote:
Darren J Moffat writes:
This one doesn't though because STAFFER is set to 'nobody' and MAILTO is set to $STAFFER. That means that by default you won't get email sent on build completion.

Untrue.  Nightly does this:

        # Set default value for STAFFER, if needed.
        if [ -z "$STAFFER" -o "$STAFFER" = "nobody" ]; then
                STAFFER=`/usr/xpg4/bin/id -un`
                export STAFFER
        fi

I _never_ set STAFFER on any of my builds, and it works fine for me.
The only things I ever set are NIGHTLY_OPTIONS, CODEMGR_WS, PARENT_WS,
and CLONE_WS

I notice that you put that in there as part of a bunch of other fixes, none of which have a synopsis that indicates that it was a fix for this problem!

I think it would still be helpful to have the STAFFER variable commented out in the nightly environment files, particularly since $STAFFER is really only useful for teamware when nightly was being run as root.

--
Darren J Moffat
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to