From 06ba28597c857c1e5a702e23be1d5873cfecc07a Mon Sep 17 00:00:00 2001 From: lm Date: Thu, 3 Apr 2014 11:42:34 +0800 Subject: [PATCH] [Jenkins][ci skip]: Fix call method --- tools/jenkins-scripts/job-trigger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/jenkins-scripts/job-trigger.py b/tools/jenkins-scripts/job-trigger.py index 6b15fe9836..626243c0e6 100755 --- a/tools/jenkins-scripts/job-trigger.py +++ b/tools/jenkins-scripts/job-trigger.py @@ -53,9 +53,10 @@ 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':""}