added query to buildbot server