Move autohold processing into separate method

The autohold processing is currently part of the
_doBuildCompletedEvent method and does quite some work before the
build result is checked. Moving this into its own method makes it easy
to skip for all but failed builds while imroving readability of the
_doBuildCompletedEvent method.

Change-Id: I9339a17fc347745a40ad7ca26ddf2d04f4dc7829
1 file changed