skip ci build for v3-doc

This commit is contained in:
andyque 2015-06-01 11:14:43 +08:00
parent 839e7fbb59
commit dea0387f1a
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ def main():
#set commit status to pending
target_url = os.environ['JOB_PULL_REQUEST_BUILD_URL']
if(action == 'closed' or action == 'assigned' or branch == 'v2'):
if(action == 'closed' or action == 'assigned' or branch == 'v2' or branch == 'v3-doc'):
print 'pull request #' + str(pr_num) + ' is ' + action + ', no build triggered'
return(0)

View File

@ -76,7 +76,7 @@ def main():
print 'Can not find build in queue'
if(action == 'closed' or action == 'labeled'
or action == 'assigned' or action == 'unlabeled' or branch == 'v2'):
or action == 'assigned' or action == 'unlabeled' or branch == 'v2' or branch == 'v3-doc'):
print 'pull request #' + str(pr_num) + ' is ' + action + ', no build triggered'
return(0)