automate build status getting and instance build function