build blocker disable queue scan feature not working
In Queue.java, just after bulildables are assigned executors(and state is changed to pending) using Mapping.execute(WorkUnitContext), I tried to see if nodes start executing buildable right away by adding:
Not surprisingly in latest releases, the assigned executor prints the job that was just assigned by adding above line, but in earlier releases(e.g. 1.580.1), no executor used to show this buildable task.(all printed null with above cmd).
What has changed here?
This feature is actually used in build blocker plugin to block builds and ignore queued job(if disabled queue checking), but due to this change, now even if queue is disabled, the queue is being checked.