get the correct branch

This commit is contained in:
heliclei 2014-01-02 19:08:22 +08:00
parent 48579fe3ac
commit e43ca98a94
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def main():
statuses_url = pr['statuses_url']
#get pr target branch
branch = pr['head']['ref']
branch = pr['base']['ref']
#set commit status to pending
target_url = os.environ['BUILD_URL']