mirror of https://github.com/axmolengine/axmol.git
skip ci build for v3-doc
This commit is contained in:
parent
839e7fbb59
commit
dea0387f1a
|
@ -75,7 +75,7 @@ def main():
|
||||||
#set commit status to pending
|
#set commit status to pending
|
||||||
target_url = os.environ['JOB_PULL_REQUEST_BUILD_URL']
|
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'
|
print 'pull request #' + str(pr_num) + ' is ' + action + ', no build triggered'
|
||||||
return(0)
|
return(0)
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ def main():
|
||||||
print 'Can not find build in queue'
|
print 'Can not find build in queue'
|
||||||
|
|
||||||
if(action == 'closed' or action == 'labeled'
|
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'
|
print 'pull request #' + str(pr_num) + ' is ' + action + ', no build triggered'
|
||||||
return(0)
|
return(0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue