mirror of https://github.com/axmolengine/axmol.git
[Jenkins][ci skip]: Fix call method
This commit is contained in:
parent
7f1d694f03
commit
06ba28597c
|
@ -54,8 +54,9 @@ def main():
|
|||
#set commit status to pending
|
||||
target_url = os.environ['JOB_PULL_REQUEST_BUILD_URL']
|
||||
|
||||
check_queue_build(action, pr_num, statuses_url)
|
||||
|
||||
if(action == 'closed'):
|
||||
check_queue_build(action, pr_num, statuses_url)
|
||||
print 'pull request #' + str(pr_num) + ' is '+action+', no build triggered'
|
||||
return(0)
|
||||
|
||||
|
@ -79,7 +80,6 @@ def main():
|
|||
except:
|
||||
traceback.print_exc()
|
||||
|
||||
check_queue_build(action, pr_num, statuses_url)
|
||||
job_trigger_url = os.environ['JOB_TRIGGER_URL']
|
||||
#send trigger and payload
|
||||
post_data = {'payload':""}
|
||||
|
|
Loading…
Reference in New Issue