]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fixed jenkins build trigger
authorFabian Holler <fabian.holler@profitbricks.com>
Fri, 12 Oct 2012 12:10:12 +0000 (14:10 +0200)
committerFabian Holler <fabian.holler@profitbricks.com>
Fri, 12 Oct 2012 12:10:12 +0000 (14:10 +0200)
add_liveboot_request.py

index e7cd509512dcdbdf6f42d046047c94e6cdc7c936..0773a71981f126c0f010eda458150f9c5d28e72b 100644 (file)
@@ -127,7 +127,7 @@ def insert_liveboot_request(con, owner_uid, package_list_id):
 
 def trigger_jenkins_build(request_id):
     urllib2.urlopen("http://jenkins/view/_Tests/job/liveboot/"
-    "buildWithParameters?token=BuildIt&" + str(REQUEST_ID)).read()
+    "buildWithParameters?token=BuildIt&REQUEST_ID=" + str(REQUEST_ID)).read()
     logger.info("Jenkins build triggered")
 
 def add_liveboot_request(deb_pkg_instance_ids):