Bug 568299 - reset rebuildRequested flag & don't use on parallel build

If a builder sets rebuildRequested to true in the basic build loop, the
flag remains set and could be seen during the single project build
executed right after the multiple projects build. This would cause no
build executed at all, because the basic build loop doesn't clean up the
flag on exit. Similar may happen with two consecutive single project
builds.

So we should always reset rebuildRequested flag if we start new single
project build, and we should ignore this flag completely during parallel
build, because we don't know which project requested it.

Change-Id: I226fc93e7c159cfc3b874d311f5b3e7b78d835c6
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.resources/+/181209
Tested-by: Platform Bot <platform-bot@eclipse.org>
1 file changed