[dev] Query jenkins build status with python api