When there is no workspace (i.e. after renaming a job or wiping out workspace from menu) SCM polling states that there is no workspace, so it schedules the build to get it. Trouble begins when the quiet period is involved.
My scenario is as follows: SCM polling is set to every 5 minutes and quiet period is 15 minutes. This way I achieve quite stable moment for starting a build (not to get into developer's merge). This works fine if a workspace exists, but when it doesn't, the build waits in the queue indefinitely; every 5 minutes SCM polling states there is no workspace and reports "changes found" to Hudson, which in turn resets the quiet period. This is a no-win situation, the only solution currently is to force build manually.
I wonder if it is possible to detect whether the build is already in the build queue when polling and report "changes found" with no workspace only when the build is not yet scheduled.