From 2b7aa2630806a1a8146c470f2c0c89933fd2d2ca Mon Sep 17 00:00:00 2001 From: heliclei Date: Thu, 9 Jan 2014 10:56:33 +0800 Subject: [PATCH] fix create job state --- tools/jenkins-scripts/create-job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/jenkins-scripts/create-job.py b/tools/jenkins-scripts/create-job.py index ef3e386368..1aac211cdf 100644 --- a/tools/jenkins-scripts/create-job.py +++ b/tools/jenkins-scripts/create-job.py @@ -19,7 +19,7 @@ r = requests.get(api_get_pr) pr = r.json() #forge a payload -payload = {"action":"open","number":"","pull_request":""} +payload = {"action":"opened","number":"","pull_request":""} payload['number']=pr_num payload['pull_request']=pr